- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetInputs (0.26 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc
if (!main_fn) { return absl::InternalError("Could not find main function in MLIR Module."); } 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));
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/lite/transforms/lower_static_tensor_list.cc
ConversionPatternRewriter *rewriter) const { auto guard = OpBuilder::InsertionGuard(*rewriter); auto inputs = branch_func.getFunctionType().getInputs(); Block *block = rewriter->createBlock( &branch_func.getBody(), branch_func.begin(), inputs, SmallVector<Location>(inputs.size(), branch_func.getLoc()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
if (op.getN() == 1) { rewriter.replaceOpWithNewOp<UnaryEinsumOp>( op, op.getType(), *op.getInputs().begin(), equation); } else if (op.getN() == 2) { ValueRange inputs = op.getInputs(); rewriter.replaceOpWithNewOp<EinsumOp>(op, op.getType(), inputs[0], inputs[1], equation); } else {
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/transforms/shape_inference.cc
while_op.getInput().getTypes(), while_op.getOutput().getTypes(), while_op.ResolveBodyFunction(&symbol_table_) .getFunctionType() .getInputs()); return PropagateShapeToFunctions( module, compatible_types, {while_op.ResolveCondFunction(&symbol_table_), while_op.ResolveBodyFunction(&symbol_table_)},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)