- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for x2_shape (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc
mlir::FunctionType func_type = main_fn.getFunctionType(); for (auto input_type : func_type.getInputs()) { tensorflow::TensorShape tensor_shape; xla::Shape xla_shape = xla::TypeToShape(input_type); TF_RETURN_IF_ERROR(tensorflow::TensorShape::BuildTensorShape( xla_shape.dimensions(), &tensor_shape)); arg_shapes.emplace_back(tensor_shape); DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
Value result = reduction.getResult(0); // The mean op needs to divide by the product of the reduced dimensions. if (std::is_same<OpTy, TF::MeanOp>::value) { Value in_shape = rewriter.create<shape::ShapeOfOp>(loc, op.getInput()); Value divisor_count = rewriter.create<arith::ConstantIndexOp>(loc, 1); for (size_t i = 0; i < input_shape.size(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
Arg<TF_Int64Tensor, [{2-D. The `indices` of the second `SparseTensor`, size `[nnz, ndims]` Matrix.}]>:$b_indices, Arg<TF_NumberTensor, [{1-D. The `values` of the second `SparseTensor`, size `[nnz]` Vector.}]>:$b_values, Arg<TF_Int64Tensor, [{1-D. The `shape` of the second `SparseTensor`, size `[ndims]` Vector.}]>:$b_shape,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)