- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for definition_stack_trace_ (0.35 sec)
-
tensorflow/compiler/jit/variable_info.cc
const std::optional<ManagedStackTrace>& definition_stack_trace) : index_(index), name_(name), var_(var), definition_stack_trace_(definition_stack_trace) {} VariableInfo::VariableInfo(VariableInfo&& other) : index_(other.index_), var_(other.var_), definition_stack_trace_(other.definition_stack_trace_), lock_held_(other.lock_held_) { other.index_ = -1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info.h
void set_read_only() { read_only_ = true; } const std::optional<ManagedStackTrace>& definition_stack_trace() const { return definition_stack_trace_; } ~VariableInfo(); private: int index_; std::string name_; Var* var_; std::optional<ManagedStackTrace> definition_stack_trace_; // We can't use a optional<mutex_lock> here because it confuses the compiler's
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 14 21:57:02 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
} ResourceHandle handle = inputs[var_idx]->flat<ResourceHandle>()(0); if (handle.device() != dev->attributes().name()) { std::string definition_location = DefinitionLocationMsg(handle.definition_stack_trace()); return errors::InvalidArgument( "Trying to access resource ", handle.name(), definition_location, " located in device ", handle.device(), " from device ", dev->attributes().name(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
const VariableInfo& variable = *variable_info_lookup[input_num]; arg.kind = XlaCompiler::Argument::kResource; arg.resource_kind = XlaResource::kVariable; arg.definition_stack_trace = variable.definition_stack_trace(); TF_RET_CHECK(variable.var() && variable.var()->is_initialized); const Tensor* value = variable.var()->tensor(); arg.type = value->dtype(); arg.shape = value->shape();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
arg.name = std::string(variable.name()); arg.kind = XlaCompiler::Argument::kResource; arg.resource_kind = XlaResource::kVariable; arg.definition_stack_trace = variable.definition_stack_trace(); if (variable.var() && variable.var()->is_initialized) { const Tensor* value = variable.var()->tensor(); arg.type = value->dtype(); arg.shape = value->shape();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0)