Home
last modified time | relevance | path

Searched refs:XLAShapeToTensorShape (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dbroadcast.cc99 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(lhs_xla_shape, &lhs_tf_shape)); in BroadcastOpsToSame()
100 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(rhs_xla_shape, &rhs_tf_shape)); in BroadcastOpsToSame()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc144 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(input_shape, &input_tensor_shape)); in ConvBackpropComputeDimensionsV2XlaShapes()
145 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(filter_shape, &filter_tensor_shape)); in ConvBackpropComputeDimensionsV2XlaShapes()
147 XLAShapeToTensorShape(out_backprop_shape, &out_backprop_tensor_shape)); in ConvBackpropComputeDimensionsV2XlaShapes()
408 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(filter_shape, &filter_tensor_shape)); in MakeXlaBackpropFilterConvOp()
409 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(input_shape, &input_tensor_shape)); in MakeXlaBackpropFilterConvOp()
410 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(output_shape, &output_tensor_shape)); in MakeXlaBackpropFilterConvOp()
Ddynamic_stitch_op.cc69 ctx, XLAShapeToTensorShape(indices_input[0].shape(), &indices0_shape)); in Compile()
73 XLAShapeToTensorShape(indices_input[input_num].shape(), in Compile()
Dstack_ops.cc48 return XLAShapeToTensorShape(xla::ShapeUtil::GetTupleElementShape(shape, 0), in GetStackShape()
Dtensor_array_ops.cc77 XLAShapeToTensorShape(shape_or_status.ValueOrDie(), &shape)); in MaybeInitializeTensorArray()
Dtensor_list_ops.cc412 OP_REQUIRES_OK(ctx, XLAShapeToTensorShape(buffer_xla_shape, &buffer_shape)); in Compile()
Dpooling_ops.cc347 OP_REQUIRES_OK(ctx, XLAShapeToTensorShape(status_or_shape.ValueOrDie(), in Compile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dshape_util.h33 Status XLAShapeToTensorShape(const xla::Shape& shape,
Dxla_helpers.cc167 XLAShapeToTensorShape(per_device_xla_shape, &per_device_tensor_shape)); in RewriteLayoutWithShardedShape()
199 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(original_shape, &shape)); in ReshapeWithCorrectRepresentationAndSharding()
Dliteral_util.cc115 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(literal.shape(), &shape)); in LiteralToHostTensor()
Dxla_expression.cc211 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(xla_shape, &shape)); in GetShape()
Dshape_util.cc88 Status XLAShapeToTensorShape(const xla::Shape& shape, in XLAShapeToTensorShape() function
Dxla_op_kernel.cc632 XLAShapeToTensorShape(shape_or_status.ValueOrDie(), &shape)); in AssignVariableTensor()
Dxla_compiler.cc765 if (XLAShapeToTensorShape(xla_shape, &tensor_shape).ok() && in CompileFunction()
847 XLAShapeToTensorShape(absl::get<xla::Shape>(arg.shape), &shape)); in XLAShapeForArgument()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc74 XLAShapeToTensorShape(absl::get<xla::Shape>(arg.shape), &arg_shape)); in GetTensorShapeFromXlaArgument()
178 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(shape, &resource_update.shape)); in GetOutputInfo()
187 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(shape, &out_desc.shape)); in GetOutputInfo()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_execute_op.cc451 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(subshape, &shape)); in AllocateOutputTensors()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc477 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(subshape, &shape)); in PopulateOutputs()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h593 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(*subshape, &output_shape)); in Compute()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc1453 tensorflow::XLAShapeToTensorShape(arg_shape, &arg_tensor_shape); in SetEntryTupleShapesAndLeafReplication()