org.tensorflow.util.BundleEntryProtoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
Java API for TensorFlow protocol buffers.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/tensor_bundle.proto
package org.tensorflow.util;
public interface BundleEntryProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.BundleEntryProto)
com.google.protobuf.MessageOrBuilder {
/**
*
* The tensor dtype and shape.
*
*
* .tensorflow.DataType dtype = 1;
*/
int getDtypeValue();
/**
*
* The tensor dtype and shape.
*
*
* .tensorflow.DataType dtype = 1;
*/
org.tensorflow.framework.DataType getDtype();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
boolean hasShape();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProto getShape();
/**
* .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();
/**
*
* The binary content of the tensor lies in:
* File "shard_id": bytes [offset, offset + size).
*
*
* int32 shard_id = 3;
*/
int getShardId();
/**
* int64 offset = 4;
*/
long getOffset();
/**
* int64 size = 5;
*/
long getSize();
/**
*
* The CRC32C checksum of the tensor bytes.
*
*
* fixed32 crc32c = 6;
*/
int getCrc32C();
/**
*
* Iff present, this entry represents a partitioned tensor. The previous
* fields are interpreted as follows:
* "dtype", "shape": describe the full tensor.
* "shard_id", "offset", "size", "crc32c": all IGNORED.
* These information for each slice can be looked up in their own
* BundleEntryProto, keyed by each "slice_name".
*
*
* repeated .tensorflow.TensorSliceProto slices = 7;
*/
java.util.List
getSlicesList();
/**
*
* Iff present, this entry represents a partitioned tensor. The previous
* fields are interpreted as follows:
* "dtype", "shape": describe the full tensor.
* "shard_id", "offset", "size", "crc32c": all IGNORED.
* These information for each slice can be looked up in their own
* BundleEntryProto, keyed by each "slice_name".
*
*
* repeated .tensorflow.TensorSliceProto slices = 7;
*/
org.tensorflow.framework.TensorSliceProto getSlices(int index);
/**
*
* Iff present, this entry represents a partitioned tensor. The previous
* fields are interpreted as follows:
* "dtype", "shape": describe the full tensor.
* "shard_id", "offset", "size", "crc32c": all IGNORED.
* These information for each slice can be looked up in their own
* BundleEntryProto, keyed by each "slice_name".
*
*
* repeated .tensorflow.TensorSliceProto slices = 7;
*/
int getSlicesCount();
/**
*
* Iff present, this entry represents a partitioned tensor. The previous
* fields are interpreted as follows:
* "dtype", "shape": describe the full tensor.
* "shard_id", "offset", "size", "crc32c": all IGNORED.
* These information for each slice can be looked up in their own
* BundleEntryProto, keyed by each "slice_name".
*
*
* repeated .tensorflow.TensorSliceProto slices = 7;
*/
java.util.List extends org.tensorflow.framework.TensorSliceProtoOrBuilder>
getSlicesOrBuilderList();
/**
*
* Iff present, this entry represents a partitioned tensor. The previous
* fields are interpreted as follows:
* "dtype", "shape": describe the full tensor.
* "shard_id", "offset", "size", "crc32c": all IGNORED.
* These information for each slice can be looked up in their own
* BundleEntryProto, keyed by each "slice_name".
*
*
* repeated .tensorflow.TensorSliceProto slices = 7;
*/
org.tensorflow.framework.TensorSliceProtoOrBuilder getSlicesOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy