Package org.nd4j.ir
Class TensorNamespace.TensorShapeProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
- org.nd4j.ir.TensorNamespace.TensorShapeProto.Builder
-
- All Implemented Interfaces:
Cloneable,TensorNamespace.TensorShapeProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- TensorNamespace.TensorShapeProto
public static final class TensorNamespace.TensorShapeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder> implements TensorNamespace.TensorShapeProtoOrBuilder
Defines a tensor shape. A dimension can be either an integer value or a symbolic variable. A symbolic variable represents an unknown dimension.
Protobuf typeorg.nd4j.ir.TensorShapeProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TensorNamespace.TensorShapeProto.BuilderaddAllDim(Iterable<? extends TensorNamespace.TensorShapeProto.Dimension> values)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderaddDim(int index, TensorNamespace.TensorShapeProto.Dimension value)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderaddDim(int index, TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderaddDim(TensorNamespace.TensorShapeProto.Dimension value)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderaddDim(TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.Dimension.BuilderaddDimBuilder()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.Dimension.BuilderaddDimBuilder(int index)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorNamespace.TensorShapeProtobuild()TensorNamespace.TensorShapeProtobuildPartial()TensorNamespace.TensorShapeProto.Builderclear()TensorNamespace.TensorShapeProto.BuilderclearDim()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)TensorNamespace.TensorShapeProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)TensorNamespace.TensorShapeProto.Builderclone()TensorNamespace.TensorShapeProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()TensorNamespace.TensorShapeProto.DimensiongetDim(int index)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.Dimension.BuildergetDimBuilder(int index)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;List<TensorNamespace.TensorShapeProto.Dimension.Builder>getDimBuilderList()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;intgetDimCount()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;List<TensorNamespace.TensorShapeProto.Dimension>getDimList()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.DimensionOrBuildergetDimOrBuilder(int index)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;List<? extends TensorNamespace.TensorShapeProto.DimensionOrBuilder>getDimOrBuilderList()repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TensorNamespace.TensorShapeProto.BuildermergeFrom(TensorNamespace.TensorShapeProto other)TensorNamespace.TensorShapeProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)TensorNamespace.TensorShapeProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)TensorNamespace.TensorShapeProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)TensorNamespace.TensorShapeProto.BuilderremoveDim(int index)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuildersetDim(int index, TensorNamespace.TensorShapeProto.Dimension value)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuildersetDim(int index, TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;TensorNamespace.TensorShapeProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorNamespace.TensorShapeProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TensorNamespace.TensorShapeProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
clear
public TensorNamespace.TensorShapeProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
getDefaultInstanceForType
public TensorNamespace.TensorShapeProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorNamespace.TensorShapeProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorNamespace.TensorShapeProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorNamespace.TensorShapeProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
setField
public TensorNamespace.TensorShapeProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
clearField
public TensorNamespace.TensorShapeProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
clearOneof
public TensorNamespace.TensorShapeProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
setRepeatedField
public TensorNamespace.TensorShapeProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
addRepeatedField
public TensorNamespace.TensorShapeProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
mergeFrom
public TensorNamespace.TensorShapeProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<TensorNamespace.TensorShapeProto.Builder>
-
mergeFrom
public TensorNamespace.TensorShapeProto.Builder mergeFrom(TensorNamespace.TensorShapeProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
mergeFrom
public TensorNamespace.TensorShapeProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<TensorNamespace.TensorShapeProto.Builder>- Throws:
IOException
-
getDimList
public List<TensorNamespace.TensorShapeProto.Dimension> getDimList()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;- Specified by:
getDimListin interfaceTensorNamespace.TensorShapeProtoOrBuilder
-
getDimCount
public int getDimCount()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;- Specified by:
getDimCountin interfaceTensorNamespace.TensorShapeProtoOrBuilder
-
getDim
public TensorNamespace.TensorShapeProto.Dimension getDim(int index)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;- Specified by:
getDimin interfaceTensorNamespace.TensorShapeProtoOrBuilder
-
setDim
public TensorNamespace.TensorShapeProto.Builder setDim(int index, TensorNamespace.TensorShapeProto.Dimension value)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
setDim
public TensorNamespace.TensorShapeProto.Builder setDim(int index, TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addDim
public TensorNamespace.TensorShapeProto.Builder addDim(TensorNamespace.TensorShapeProto.Dimension value)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addDim
public TensorNamespace.TensorShapeProto.Builder addDim(int index, TensorNamespace.TensorShapeProto.Dimension value)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addDim
public TensorNamespace.TensorShapeProto.Builder addDim(TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addDim
public TensorNamespace.TensorShapeProto.Builder addDim(int index, TensorNamespace.TensorShapeProto.Dimension.Builder builderForValue)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addAllDim
public TensorNamespace.TensorShapeProto.Builder addAllDim(Iterable<? extends TensorNamespace.TensorShapeProto.Dimension> values)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
clearDim
public TensorNamespace.TensorShapeProto.Builder clearDim()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
removeDim
public TensorNamespace.TensorShapeProto.Builder removeDim(int index)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
getDimBuilder
public TensorNamespace.TensorShapeProto.Dimension.Builder getDimBuilder(int index)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
getDimOrBuilder
public TensorNamespace.TensorShapeProto.DimensionOrBuilder getDimOrBuilder(int index)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;- Specified by:
getDimOrBuilderin interfaceTensorNamespace.TensorShapeProtoOrBuilder
-
getDimOrBuilderList
public List<? extends TensorNamespace.TensorShapeProto.DimensionOrBuilder> getDimOrBuilderList()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;- Specified by:
getDimOrBuilderListin interfaceTensorNamespace.TensorShapeProtoOrBuilder
-
addDimBuilder
public TensorNamespace.TensorShapeProto.Dimension.Builder addDimBuilder()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
addDimBuilder
public TensorNamespace.TensorShapeProto.Dimension.Builder addDimBuilder(int index)
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
getDimBuilderList
public List<TensorNamespace.TensorShapeProto.Dimension.Builder> getDimBuilderList()
repeated .org.nd4j.ir.TensorShapeProto.Dimension dim = 1;
-
setUnknownFields
public final TensorNamespace.TensorShapeProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
mergeUnknownFields
public final TensorNamespace.TensorShapeProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TensorShapeProto.Builder>
-
-