AssetFileDefOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
AssetFileDef |
An asset file def for a single file or a set of sharded files with the same
name. |
AssetFileDef.Builder |
An asset file def for a single file or a set of sharded files with the same
name. |
|
Public Methods
public
abstract
String
getFilename
()
The filename within an assets directory. Note: does not include the path
prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename
would be "vocab.txt".
string filename = 2;
public
abstract
com.google.protobuf.ByteString
getFilenameBytes
()
The filename within an assets directory. Note: does not include the path
prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename
would be "vocab.txt".
string filename = 2;
public
abstract
TensorInfo
getTensorInfo
()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;
public
abstract
TensorInfoOrBuilder
getTensorInfoOrBuilder
()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;
public
abstract
boolean
hasTensorInfo
()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 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,["# AssetFileDefOrBuilder\n\npublic interface **AssetFileDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [AssetFileDef](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDef), [AssetFileDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDef.Builder) |------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | [AssetFileDef](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDef) | ``` An asset file def for a single file or a set of sharded files with the same name. ``` | | [AssetFileDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDef.Builder) | ``` An asset file def for a single file or a set of sharded files with the same name. ``` | |||\n\n### Public Methods\n\n|-------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getFilename](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDefOrBuilder#getFilename())() ``` The filename within an assets directory. ``` |\n| abstract com.google.protobuf.ByteString | [getFilenameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDefOrBuilder#getFilenameBytes())() ``` The filename within an assets directory. ``` |\n| abstract [TensorInfo](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo) | [getTensorInfo](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDefOrBuilder#getTensorInfo())() ``` The tensor to bind the asset filename to. ``` |\n| abstract [TensorInfoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfoOrBuilder) | [getTensorInfoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDefOrBuilder#getTensorInfoOrBuilder())() ``` The tensor to bind the asset filename to. ``` |\n| abstract boolean | [hasTensorInfo](/jvm/api_docs/java/org/tensorflow/proto/framework/AssetFileDefOrBuilder#hasTensorInfo())() ``` The tensor to bind the asset filename to. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getFilename**\n()\n\n\u003cbr /\u003e\n\n```\n The filename within an assets directory. Note: does not include the path\n prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename\n would be \"vocab.txt\".\n \n```\n`string filename = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getFilenameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The filename within an assets directory. Note: does not include the path\n prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename\n would be \"vocab.txt\".\n \n```\n`string filename = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorInfo](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo)\n**getTensorInfo**\n()\n\n\u003cbr /\u003e\n\n```\n The tensor to bind the asset filename to.\n \n```\n`.tensorflow.TensorInfo tensor_info = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract [TensorInfoOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfoOrBuilder)\n**getTensorInfoOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n The tensor to bind the asset filename to.\n \n```\n`.tensorflow.TensorInfo tensor_info = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasTensorInfo**\n()\n\n\u003cbr /\u003e\n\n```\n The tensor to bind the asset filename to.\n \n```\n`.tensorflow.TensorInfo tensor_info = 1;`\n\n\u003cbr /\u003e"]]