SavedSliceMetaOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
SavedSliceMeta |
Metadata describing the set of slices of the same tensor saved in a
checkpoint file. |
SavedSliceMeta.Builder |
Metadata describing the set of slices of the same tensor saved in a
checkpoint file. |
|
Public Methods
public
abstract
String
getName
()
Name of the tensor.
string name = 1;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Name of the tensor.
string name = 1;
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public
abstract
TensorSliceProto
getSlice
(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public
abstract
int
getSliceCount
()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public
abstract
List<TensorSliceProto>
getSliceList
()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public
abstract
List<? extends TensorSliceProtoOrBuilder>
getSliceOrBuilderList
()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public
abstract
DataType
getType
()
Type of the tensor
.tensorflow.DataType type = 3;
public
abstract
int
getTypeValue
()
Type of the tensor
.tensorflow.DataType type = 3;
public
abstract
boolean
hasShape
()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# SavedSliceMetaOrBuilder\n\npublic interface **SavedSliceMetaOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [SavedSliceMeta](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMeta), [SavedSliceMeta.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMeta.Builder) |-----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| | [SavedSliceMeta](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMeta) | ``` Metadata describing the set of slices of the same tensor saved in a checkpoint file. ``` | | [SavedSliceMeta.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMeta.Builder) | ``` Metadata describing the set of slices of the same tensor saved in a checkpoint file. ``` | |||\n\n### Public Methods\n\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getName())() ``` Name of the tensor. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getNameBytes())() ``` Name of the tensor. ``` |\n| abstract [TensorShapeProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorShapeProto) | [getShape](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getShape())() ``` Shape of the tensor ``` `.tensorflow.TensorShapeProto shape = 2;` |\n| abstract [TensorShapeProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorShapeProtoOrBuilder) | [getShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getShapeOrBuilder())() ``` Shape of the tensor ``` `.tensorflow.TensorShapeProto shape = 2;` |\n| abstract [TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto) | [getSlice](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getSlice(int))(int index) ``` Explicit list of slices saved in the checkpoint file. ``` |\n| abstract int | [getSliceCount](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getSliceCount())() ``` Explicit list of slices saved in the checkpoint file. ``` |\n| abstract List\\\u003c[TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto)\\\u003e | [getSliceList](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getSliceList())() ``` Explicit list of slices saved in the checkpoint file. ``` |\n| abstract [TensorSliceProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder) | [getSliceOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getSliceOrBuilder(int))(int index) ``` Explicit list of slices saved in the checkpoint file. ``` |\n| abstract List\\\u003c? extends [TensorSliceProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder)\\\u003e | [getSliceOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getSliceOrBuilderList())() ``` Explicit list of slices saved in the checkpoint file. ``` |\n| abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType) | [getType](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getType())() ``` Type of the tensor ``` `.tensorflow.DataType type = 3;` |\n| abstract int | [getTypeValue](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#getTypeValue())() ``` Type of the tensor ``` `.tensorflow.DataType type = 3;` |\n| abstract boolean | [hasShape](/jvm/api_docs/java/org/tensorflow/proto/util/SavedSliceMetaOrBuilder#hasShape())() ``` Shape of the tensor ``` `.tensorflow.TensorShapeProto shape = 2;` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the tensor.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the tensor.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorShapeProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorShapeProto)\n**getShape**\n()\n\n\u003cbr /\u003e\n\n```\n Shape of the tensor\n \n```\n`.tensorflow.TensorShapeProto shape = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorShapeProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorShapeProtoOrBuilder)\n**getShapeOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n Shape of the tensor\n \n```\n`.tensorflow.TensorShapeProto shape = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto)\n**getSlice**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Explicit list of slices saved in the checkpoint file.\n \n```\n`repeated .tensorflow.TensorSliceProto slice = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getSliceCount**\n()\n\n\u003cbr /\u003e\n\n```\n Explicit list of slices saved in the checkpoint file.\n \n```\n`repeated .tensorflow.TensorSliceProto slice = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto)\\\u003e\n**getSliceList**\n()\n\n\u003cbr /\u003e\n\n```\n Explicit list of slices saved in the checkpoint file.\n \n```\n`repeated .tensorflow.TensorSliceProto slice = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorSliceProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder)\n**getSliceOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Explicit list of slices saved in the checkpoint file.\n \n```\n`repeated .tensorflow.TensorSliceProto slice = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [TensorSliceProtoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder)\\\u003e\n**getSliceOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n Explicit list of slices saved in the checkpoint file.\n \n```\n`repeated .tensorflow.TensorSliceProto slice = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType)\n**getType**\n()\n\n\u003cbr /\u003e\n\n```\n Type of the tensor\n \n```\n`.tensorflow.DataType type = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getTypeValue**\n()\n\n\u003cbr /\u003e\n\n```\n Type of the tensor\n \n```\n`.tensorflow.DataType type = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasShape**\n()\n\n\u003cbr /\u003e\n\n```\n Shape of the tensor\n \n```\n`.tensorflow.TensorShapeProto shape = 2;`\n\n\u003cbr /\u003e"]]