Home
last modified time | relevance | path

Searched refs:tmp_var (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dvariable_ops.cc96 auto* tmp_var = new TmpVar; in Compute() local
97 OP_REQUIRES(context, tmp_var, in Compute()
99 tmp_var->name = var_name_; in Compute()
100 s = context->allocate_temp(dtype_, shape_, &tmp_var->val); in Compute()
101 if (!s.ok()) tmp_var->Unref(); in Compute()
104 var_name_, tmp_var)); in Compute()
105 context->set_output_ref(0, &tmp_var->mu, &tmp_var->val); in Compute()
108 tmp_var->val.AllocatedBytes()); in Compute()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmemory_optimizer.cc642 NodeDef* tmp_var = item->graph.add_node(); in SchedulingPass() local
643 tmp_var->set_name(strings::StrCat(node->name(), "/tmp_var")); in SchedulingPass()
644 tmp_var->set_op("TemporaryVariable"); in SchedulingPass()
645 tmp_var->set_device(device); in SchedulingPass()
646 (*tmp_var->mutable_attr())["dtype"].set_type(dtype); in SchedulingPass()
647 *(*tmp_var->mutable_attr())["shape"].mutable_shape() = shape; in SchedulingPass()
648 (*tmp_var->mutable_attr())["var_name"].set_s(tmp_var->name()); in SchedulingPass()
651 *tmp_var->add_input() = ctrl_dep; in SchedulingPass()
653 *tmp_var->add_input() = in SchedulingPass()
671 *initialize->add_input() = tmp_var->name(); in SchedulingPass()
[all …]
/external/bcc/src/lua/bpf/
Dbpf.lua902 local tmp_var = stackslots + 1
903 vset(tmp_var, nil, d)
904 ALU_REG(tmp_var, tmp_var, b, 'ADD')
905 local dst_reg = vreg(tmp_var)
906 V[tmp_var].reg = nil -- Only temporary allocation
916 local tmp_var = stackslots + 1
917 vcopy(tmp_var, d) -- Element position
919 ALU_IMM(tmp_var, tmp_var, w, 'MUL') -- multiply by element size
921 local dst_reg = vreg(tmp_var) -- add R10 (stack pointer)
923 V[tmp_var].reg = nil -- Only temporary allocation
/external/compiler-rt/cmake/Modules/
DCompilerRTDarwinUtils.cmake104 list_intersect(tmp_var DARWIN_osx_ARCHS ${input})
118 list(REMOVE_ITEM tmp_var x86_64h)
120 set(${output} ${tmp_var} PARENT_SCOPE)