TensorSliceProtoOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
Extent of the slice in all tensor dimensions.
Must have one entry for each of the dimension of the tensor that this
slice belongs to. The order of sizes is the same as the order of
dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;
public
abstract
int
getExtentCount
()
Extent of the slice in all tensor dimensions.
Must have one entry for each of the dimension of the tensor that this
slice belongs to. The order of sizes is the same as the order of
dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;
Extent of the slice in all tensor dimensions.
Must have one entry for each of the dimension of the tensor that this
slice belongs to. The order of sizes is the same as the order of
dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;
Extent of the slice in all tensor dimensions.
Must have one entry for each of the dimension of the tensor that this
slice belongs to. The order of sizes is the same as the order of
dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;
Extent of the slice in all tensor dimensions.
Must have one entry for each of the dimension of the tensor that this
slice belongs to. The order of sizes is the same as the order of
dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;
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,["# TensorSliceProtoOrBuilder\n\npublic interface **TensorSliceProtoOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto), [TensorSliceProto.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Builder) |--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| | [TensorSliceProto](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto) | ``` Can only be interpreted if you know the corresponding TensorShape. ``` | | [TensorSliceProto.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Builder) | ``` Can only be interpreted if you know the corresponding TensorShape. ``` | |||\n\n### Public Methods\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [TensorSliceProto.Extent](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Extent) | [getExtent](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder#getExtent(int))(int index) ``` Extent of the slice in all tensor dimensions. ``` |\n| abstract int | [getExtentCount](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder#getExtentCount())() ``` Extent of the slice in all tensor dimensions. ``` |\n| abstract List\\\u003c[TensorSliceProto.Extent](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Extent)\\\u003e | [getExtentList](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder#getExtentList())() ``` Extent of the slice in all tensor dimensions. ``` |\n| abstract [TensorSliceProto.ExtentOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.ExtentOrBuilder) | [getExtentOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder#getExtentOrBuilder(int))(int index) ``` Extent of the slice in all tensor dimensions. ``` |\n| abstract List\\\u003c? extends [TensorSliceProto.ExtentOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.ExtentOrBuilder)\\\u003e | [getExtentOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProtoOrBuilder#getExtentOrBuilderList())() ``` Extent of the slice in all tensor dimensions. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract [TensorSliceProto.Extent](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Extent)\n**getExtent**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Extent of the slice in all tensor dimensions.\n Must have one entry for each of the dimension of the tensor that this\n slice belongs to. The order of sizes is the same as the order of\n dimensions in the TensorShape.\n \n```\n`repeated .tensorflow.TensorSliceProto.Extent extent = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getExtentCount**\n()\n\n\u003cbr /\u003e\n\n```\n Extent of the slice in all tensor dimensions.\n Must have one entry for each of the dimension of the tensor that this\n slice belongs to. The order of sizes is the same as the order of\n dimensions in the TensorShape.\n \n```\n`repeated .tensorflow.TensorSliceProto.Extent extent = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[TensorSliceProto.Extent](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.Extent)\\\u003e\n**getExtentList**\n()\n\n\u003cbr /\u003e\n\n```\n Extent of the slice in all tensor dimensions.\n Must have one entry for each of the dimension of the tensor that this\n slice belongs to. The order of sizes is the same as the order of\n dimensions in the TensorShape.\n \n```\n`repeated .tensorflow.TensorSliceProto.Extent extent = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorSliceProto.ExtentOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.ExtentOrBuilder)\n**getExtentOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Extent of the slice in all tensor dimensions.\n Must have one entry for each of the dimension of the tensor that this\n slice belongs to. The order of sizes is the same as the order of\n dimensions in the TensorShape.\n \n```\n`repeated .tensorflow.TensorSliceProto.Extent extent = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [TensorSliceProto.ExtentOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorSliceProto.ExtentOrBuilder)\\\u003e\n**getExtentOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n Extent of the slice in all tensor dimensions.\n Must have one entry for each of the dimension of the tensor that this\n slice belongs to. The order of sizes is the same as the order of\n dimensions in the TensorShape.\n \n```\n`repeated .tensorflow.TensorSliceProto.Extent extent = 1;`\n\n\u003cbr /\u003e"]]