Home
last modified time | relevance | path

Searched refs:copy_on_read_mode (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dtraining_op_helpers.h33 if (var->copy_on_read_mode.load()) { in EnsureSparseVariableAccess()
41 var->copy_on_read_mode.store(true); in EnsureSparseVariableAccess()
68 var->copy_on_read_mode.store(true); in EnsureSparseVariableAccess()
199 bool copy_on_read_mode) { in PrepareToUpdateVariable() argument
200 if (copy_on_read_mode || !tensor->RefCountIsOne()) { in PrepareToUpdateVariable()
251 ctx, var->tensor(), var->copy_on_read_mode.load())); in GetInputTensorFromVariable()
Dresource_variable_ops.cc150 if (!variable->copy_on_read_mode.load()) { in Compute()
205 if (variables[i]->copy_on_read_mode.load()) { in Compute()
393 if (variable->copy_on_read_mode.load()) { in Compute()
543 context, var_tensor, variable->copy_on_read_mode.load())); in Compute()
Dstateful_random_ops.cc111 ctx, var_tensor, var->copy_on_read_mode.load())); in UpdateVariableAndFill()
284 ctx, var_tensor, var->copy_on_read_mode.load())); in Compute()
Drandom_binomial_op.cc422 ctx, var_tensor, var->copy_on_read_mode.load())); in Compute()
/external/tensorflow/tensorflow/core/framework/
Dresource_var.h88 std::atomic<bool> copy_on_read_mode{false};