Home
last modified time | relevance | path

Searched refs:target_context (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc451 Status ShapeRefiner::ConstantPartialShape(InferenceContext* target_context, in ConstantPartialShape() argument
473 *result = target_context->UnknownShape(); in ConstantPartialShape()
476 *result = target_context->UnknownShape(); in ConstantPartialShape()
492 *result = target_context->Scalar(); in ConstantPartialShape()
506 dims.push_back(size < 0 ? target_context->UnknownDim() in ConstantPartialShape()
507 : target_context->MakeDim(size)); in ConstantPartialShape()
509 dims.push_back(target_context->UnknownDim()); in ConstantPartialShape()
512 *result = target_context->MakeShape(dims); in ConstantPartialShape()
514 *result = target_context->Scalar(); in ConstantPartialShape()
523 TF_RETURN_IF_ERROR(ConstantPartialShape(target_context, input_edge->src(), in ConstantPartialShape()
[all …]
Dshape_refiner.h251 Status ConstantPartialShape(shape_inference::InferenceContext* target_context,
/external/tensorflow/tensorflow/python/training/tracking/
Dgraph_view.py387 target_context = to_graph.as_default
389 target_context = ops.NullContextmanager
390 with target_context():