Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::AccumulatorSetGlobalStep
#include <data_flow_ops.h>
Updates the accumulator with a new value for global_step.
Summary
Logs warning if the accumulator's value is already higher than new_global_step.
Arguments:
- scope: A Scope object
- handle: The handle to an accumulator.
- new_global_step: The new global_step value to set.
Returns:
Public attributes
Public functions
operator::tensorflow::Operation
operator::tensorflow::Operation() const
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 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::AccumulatorSetGlobalStep Class Reference\n\ntensorflow::ops::AccumulatorSetGlobalStep\n=========================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nUpdates the accumulator with a new value for global_step.\n\nSummary\n-------\n\nLogs warning if the accumulator's value is already higher than new_global_step.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to an accumulator.\n- new_global_step: The new global_step value to set.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [AccumulatorSetGlobalStep](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1a61fec3b7a6eb1fbf46a8a61b9ca39315)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` new_global_step)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1aedb264125674e165047a38a22fc1feeb) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1a812f975f5a01b263dd0a3b8d3a4f4429)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### AccumulatorSetGlobalStep\n\n```gdscript\n AccumulatorSetGlobalStep(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input new_global_step\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n```"]]