Home
last modified time | relevance | path

Searched refs:ConstantInputAsShape (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Drandom_ops.cc46 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
225 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
264 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
292 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
325 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
Dstateless_random_ops.cc153 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
198 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
249 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
290 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
341 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
Dconv_ops.cc107 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &input_tensor_shape)); in Compile()
173 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(1, &filter_tensor_shape)); in Compile()
Dstateless_random_ops_v2.cc206 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
259 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
320 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
366 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
420 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &shape)); in Compile()
Dbroadcast_to_op.cc33 OP_REQUIRES_OK(context, context->ConstantInputAsShape(1, &output_shape)); in Compile()
Dsparse_to_dense_op.cc44 OP_REQUIRES_OK(context, context->ConstantInputAsShape(1, &output_shape)); in Compile()
Dscatter_nd_op.cc90 OP_REQUIRES_OK(context, context->ConstantInputAsShape(2, &buffer_shape)); in Compile()
Dstateful_random_ops.cc195 TF_RETURN_IF_ERROR(ctx->ConstantInputAsShape(shape_input_idx, &shape)); in CompileImpl()
Dpooling_ops.cc426 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &gradients_shape)); in Compile()
Dstrided_slice_op.cc485 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &input_shape)); in Compile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h154 Status ConstantInputAsShape(int index, TensorShape* shape);
Dxla_op_kernel.cc405 Status XlaOpKernelContext::ConstantInputAsShape(int index, TensorShape* shape) { in ConstantInputAsShape() function in tensorflow::XlaOpKernelContext