- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RefineShapes (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>> custom_legalization_passes) { // This call to RefineShapes is redundant with the call in BuildHloFromTf. // It's here so xla::Parameters that are created form block.getArguments will // have the proper shapes. TF_RETURN_IF_ERROR(RefineShapes(arg_shapes, module_op)); mlir::func::FuncOp main = module_op.lookupSymbol<mlir::func::FuncOp>("main");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h
struct TensorOrResourceShape { TensorShape shape; bool is_resource = false; }; // Refine MLIR types based on new shape information. ABSL_DEPRECATED("Not meant to be used directly and should be a util.") Status RefineShapes(llvm::ArrayRef<TensorOrResourceShape> arg_shapes, mlir::ModuleOp module); // Lower TF to MHLO and insert HLO into the XlaBuilder. xla_params are HLO-level
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
// since XLA uses functional control flow. pm.addNestedPass<mlir::func::FuncOp>( mlir::mhlo::createSinkConstantsToControlFlowPass()); } Status RefineShapes(llvm::ArrayRef<TensorOrResourceShape> arg_shapes, mlir::ModuleOp module) { auto producer_or = GetTfGraphProducerVersion(module); if (!producer_or.ok()) return producer_or.status();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0)