GradientDefOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
GradientDef |
GradientDef defines the gradient function of a function defined in
a function library. |
GradientDef.Builder |
GradientDef defines the gradient function of a function defined in
a function library. |
|
Public Methods
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
Public Methods
public
abstract
String
getFunctionName
()
The function name.
string function_name = 1;
public
abstract
com.google.protobuf.ByteString
getFunctionNameBytes
()
The function name.
string function_name = 1;
public
abstract
String
getGradientFunc
()
The gradient function's name.
string gradient_func = 2;
public
abstract
com.google.protobuf.ByteString
getGradientFuncBytes
()
The gradient function's name.
string gradient_func = 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,["# GradientDefOrBuilder\n\npublic interface **GradientDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [GradientDef](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDef), [GradientDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDef.Builder) |----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------| | [GradientDef](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDef) | ``` GradientDef defines the gradient function of a function defined in a function library. ``` | | [GradientDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDef.Builder) | ``` GradientDef defines the gradient function of a function defined in a function library. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getFunctionName](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDefOrBuilder#getFunctionName())() ``` The function name. ``` |\n| abstract com.google.protobuf.ByteString | [getFunctionNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDefOrBuilder#getFunctionNameBytes())() ``` The function name. ``` |\n| abstract String | [getGradientFunc](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDefOrBuilder#getGradientFunc())() ``` The gradient function's name. ``` |\n| abstract com.google.protobuf.ByteString | [getGradientFuncBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/GradientDefOrBuilder#getGradientFuncBytes())() ``` The gradient function's name. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getFunctionName**\n()\n\n\u003cbr /\u003e\n\n```\n The function name.\n \n```\n`string function_name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getFunctionNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The function name.\n \n```\n`string function_name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getGradientFunc**\n()\n\n\u003cbr /\u003e\n\n```\n The gradient function's name.\n \n```\n`string gradient_func = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getGradientFuncBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The gradient function's name.\n \n```\n`string gradient_func = 2;`\n\n\u003cbr /\u003e"]]