Class MemoryLogTensorAllocation.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • getDefaultInstanceForType

        public MemoryLogTensorAllocation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public MemoryLogTensorAllocation build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public MemoryLogTensorAllocation buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public MemoryLogTensorAllocation.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • addRepeatedField

        public MemoryLogTensorAllocation.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                  Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • mergeFrom

        public MemoryLogTensorAllocation.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                           org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogTensorAllocation.Builder>
        Throws:
        IOException
      • setStepId

        public MemoryLogTensorAllocation.Builder setStepId​(long value)
         Process-unique step id.
         
        int64 step_id = 1;
        Parameters:
        value - The stepId to set.
        Returns:
        This builder for chaining.
      • getKernelName

        public String getKernelName()
         Name of the kernel making the allocation as set in GraphDef,
         e.g., "affine2/weights/Assign".
         
        string kernel_name = 2;
        Specified by:
        getKernelName in interface MemoryLogTensorAllocationOrBuilder
        Returns:
        The kernelName.
      • getKernelNameBytes

        public org.nd4j.shade.protobuf.ByteString getKernelNameBytes()
         Name of the kernel making the allocation as set in GraphDef,
         e.g., "affine2/weights/Assign".
         
        string kernel_name = 2;
        Specified by:
        getKernelNameBytes in interface MemoryLogTensorAllocationOrBuilder
        Returns:
        The bytes for kernelName.
      • setKernelName

        public MemoryLogTensorAllocation.Builder setKernelName​(String value)
         Name of the kernel making the allocation as set in GraphDef,
         e.g., "affine2/weights/Assign".
         
        string kernel_name = 2;
        Parameters:
        value - The kernelName to set.
        Returns:
        This builder for chaining.
      • clearKernelName

        public MemoryLogTensorAllocation.Builder clearKernelName()
         Name of the kernel making the allocation as set in GraphDef,
         e.g., "affine2/weights/Assign".
         
        string kernel_name = 2;
        Returns:
        This builder for chaining.
      • setKernelNameBytes

        public MemoryLogTensorAllocation.Builder setKernelNameBytes​(org.nd4j.shade.protobuf.ByteString value)
         Name of the kernel making the allocation as set in GraphDef,
         e.g., "affine2/weights/Assign".
         
        string kernel_name = 2;
        Parameters:
        value - The bytes for kernelName to set.
        Returns:
        This builder for chaining.
      • hasTensor

        public boolean hasTensor()
         Allocated tensor details.
         
        .tensorflow.TensorDescription tensor = 3;
        Specified by:
        hasTensor in interface MemoryLogTensorAllocationOrBuilder
        Returns:
        Whether the tensor field is set.
      • getTensorBuilder

        public TensorDescription.Builder getTensorBuilder()
         Allocated tensor details.
         
        .tensorflow.TensorDescription tensor = 3;
      • setUnknownFields

        public final MemoryLogTensorAllocation.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>
      • mergeUnknownFields

        public final MemoryLogTensorAllocation.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorAllocation.Builder>