Home
last modified time | relevance | path

Searched refs:InputXlaShape (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcwise_ops.cc39 xla::Shape lhs_xla_shape = ctx->InputXlaShape(0).ValueOrDie(); in Compile()
40 xla::Shape rhs_xla_shape = ctx->InputXlaShape(1).ValueOrDie(); in Compile()
Dreshape_op.cc40 auto input_xla_shape = ctx->InputXlaShape(0); in Compile()
192 VLOG(2) << "Reshape from " << ctx->InputXlaShape(0)->ToString() in Compile()
Ddynamic_partition_op.cc111 xla::Shape data_shape = ctx->InputXlaShape(0).value(); in Compile()
112 xla::Shape partition_shape = ctx->InputXlaShape(1).value(); in Compile()
Dto_bool_op.cc41 TF_ASSIGN_OR_RETURN(auto shape, ctx->InputXlaShape(0)); in DoCompile()
Dxla_call_module_op.cc161 OP_REQUIRES_VALUE(xla::Shape xla_shape, ctx, ctx->InputXlaShape(i)); in RefineDynamicShapes()
219 OP_REQUIRES_VALUE(xla::Shape xla_shape, ctx, ctx->InputXlaShape(arg_idx)); in PopulateDimArgInputs()
Dspmd_manual_sharding_ops.cc91 auto status_or_input_shape = ctx->InputXlaShape(0); in Compile()
Dshape_op.cc104 ctx->InputXlaShape("input").ValueOrDie(), "", false, {}, in Compile()
416 auto input_shape = ctx->InputXlaShape(0).ValueOrDie(); in Compile()
Dapprox_topk_op.cc67 xla::Shape op_shape = ctx->InputXlaShape(0).value(); in Compile()
Dsegment_reduction_ops.cc107 ctx->InputXlaShape(0)->is_dynamic_dimension(i)); in Compile()
Dstrided_slice_op.cc147 xla::Shape input_xla_shape = ctx->InputXlaShape(0).ValueOrDie(); in EmitDynamicSlice()
451 xla::Shape grad_shape = ctx->InputXlaShape(4).ValueOrDie(); in CompileAsDynamicUpdateSlice()
Dlight_outside_compilation.cc106 TF_ASSIGN_OR_RETURN(xla::Shape xla_shape, ctx->InputXlaShape(i)); in CompileToCustomCallCallingTfKernel()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h115 StatusOr<xla::Shape> InputXlaShape(int index);
116 StatusOr<xla::Shape> InputXlaShape(absl::string_view name);
Dxla_op_kernel.cc87 StatusOr<xla::Shape> XlaOpKernelContext::InputXlaShape(int index) { in InputXlaShape() function in tensorflow::XlaOpKernelContext
91 StatusOr<xla::Shape> XlaOpKernelContext::InputXlaShape(absl::string_view name) { in InputXlaShape() function in tensorflow::XlaOpKernelContext
142 if (this->InputXlaShape(index)->is_dynamic()) { in ConstantInput()
146 this->InputXlaShape(index)->ToString()); in ConstantInput()
Dmlir_xla_op_kernel.cc46 arg.shape = ctx->InputXlaShape(i).ValueOrDie(); in ContextToXlaArgs()
/external/tensorflow/tensorflow/core/tpu/kernels/xla/
Dsegment_reduction_ops.cc97 ctx->InputXlaShape(0)->is_dynamic_dimension(i)); in Compile()