Home
last modified time | relevance | path

Searched refs:imm_ctx (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental_eager.cc74 auto imm_ctx = dyn_cast<ImmediateExecutionContext>(unwrap(ctx)); in TF_ExecutionContextGetTFEContext() local
75 if (!imm_ctx) { in TF_ExecutionContextGetTFEContext()
81 return wrap(imm_ctx); in TF_ExecutionContextGetTFEContext()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad.cc80 auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx); in BroadcastMul() local
81 AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1)); in BroadcastMul()
82 ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get())); in BroadcastMul()