kelas akhir statis publik TensorInfo.CooSparse.Builder
For sparse tensors, The COO encoding stores a triple of values, indices, and shape.Protobuf mengetik
tensorflow.TensorInfo.CooSparse
Metode Publik
TensorInfo.CooSparse.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
TensorInfo.CooSparse | membangun () |
TensorInfo.CooSparse | |
TensorInfo.CooSparse.Builder | jernih () |
TensorInfo.CooSparse.Builder | jelasDenseShapeTensorName () The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
TensorInfo.CooSparse.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
TensorInfo.CooSparse.Builder | clearIndicesTensorName () The indices Tensor must have dtype int64 and shape [?, ?]. |
TensorInfo.CooSparse.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorInfo.CooSparse.Builder | clearValuesTensorName () The shape of the values Tensor is [?]. |
TensorInfo.CooSparse.Builder | klon () |
TensorInfo.CooSparse | |
Rangkaian | dapatkanDenseShapeTensorName () The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
com.google.protobuf.ByteString | dapatkanDenseShapeTensorNameBytes () The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Rangkaian | dapatkanIndicesTensorName () The indices Tensor must have dtype int64 and shape [?, ?]. |
com.google.protobuf.ByteString | dapatkanIndicesTensorNameBytes () The indices Tensor must have dtype int64 and shape [?, ?]. |
Rangkaian | dapatkanValuesTensorName () The shape of the values Tensor is [?]. |
com.google.protobuf.ByteString | dapatkanValuesTensorNameBytes () The shape of the values Tensor is [?]. |
boolean terakhir | |
TensorInfo.CooSparse.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo.CooSparse.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
TensorInfo.CooSparse.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorInfo.CooSparse.Builder | setDenseShapeTensorName (Nilai string) The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
TensorInfo.CooSparse.Builder | setDenseShapeTensorNameBytes (nilai com.google.protobuf.ByteString) The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
TensorInfo.CooSparse.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
TensorInfo.CooSparse.Builder | setIndicesTensorName (Nilai string) The indices Tensor must have dtype int64 and shape [?, ?]. |
TensorInfo.CooSparse.Builder | setIndicesTensorNameBytes (nilai com.google.protobuf.ByteString) The indices Tensor must have dtype int64 and shape [?, ?]. |
TensorInfo.CooSparse.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
TensorInfo.CooSparse.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorInfo.CooSparse.Builder | setValuesTensorName (Nilai string) The shape of the values Tensor is [?]. |
TensorInfo.CooSparse.Builder | setValuesTensorNameBytes (nilai com.google.protobuf.ByteString) The shape of the values Tensor is [?]. |
Metode Warisan
Metode Publik
public TensorInfo.CooSparse.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
TensorInfo publik.CooSparse.Builder clearDenseShapeTensorName ()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;
TensorInfo.CooSparse.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)
TensorInfo.CooSparse.Builder publik clearIndicesTensorName ()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
publik TensorInfo.CooSparse.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorInfo.CooSparse.Builder publik clearValuesTensorName ()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;
String publik getDenseShapeTensorName ()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;
publik com.google.protobuf.ByteString getDenseShapeTensorNameBytes ()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
String publik getIndicesTensorName ()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
publik com.google.protobuf.ByteString getIndicesTensorNameBytes ()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
String publik getValuesTensorName ()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;
publik com.google.protobuf.ByteString getValuesTensorNameBytes ()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;
boolean akhir publik diinisialisasi ()
TensorInfo.CooSparse.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
TensorInfo.CooSparse.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorInfo.CooSparse.Builder setDenseShapeTensorName (nilai string)
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;
publik TensorInfo.CooSparse.Builder setDenseShapeTensorNameBytes (nilai com.google.protobuf.ByteString)
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;
public TensorInfo.CooSparse.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public TensorInfo.CooSparse.Builder setIndicesTensorName (Nilai string)
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
publik TensorInfo.CooSparse.Builder setIndicesTensorNameBytes (nilai com.google.protobuf.ByteString)
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
public TensorInfo.CooSparse.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
TensorInfo.CooSparse.Builder final publik setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
publik TensorInfo.CooSparse.Builder setValuesTensorName (Nilai string)
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;
TensorInfo.CooSparse.Builder setValuesTensorNameBytes publik (nilai com.google.protobuf.ByteString)
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;