Searched refs:c_ctx (Results 1 – 4 of 4) sorted by relevance
48 TFE_Context* c_ctx = TFE_NewContext(options, s); in TF_NewEagerExecutionContext() local52 return wrap(static_cast<AbstractContext*>(unwrap(c_ctx))); in TF_NewEagerExecutionContext()
61 c_ctx(TF_NewEagerExecutionContext(opts.get(), status.get()), in TEST() local63 OpHandlerContext ctx(unwrap(c_ctx.get())); in TEST()
95 auto c_ctx = reinterpret_cast<TF_ShapeInferenceContext*>(ctx); in TF_OpDefinitionBuilderSetShapeInferenceFunction() local96 shape_inference_func(c_ctx, c_status); in TF_OpDefinitionBuilderSetShapeInferenceFunction()
187 def __init__(self, c_ctx=None, p_ctx=None): argument189 self.c = C.getcontext() if c_ctx is None else c_ctx