Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InferShapeForFunction (0.31 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          }
        }
      }
    
      auto main_func = module.lookupSymbol<mlir::func::FuncOp>("main");
    
      mlir::StatusScopedDiagnosticHandler error_handler(module.getContext());
      mlir::LogicalResult result = mlir::TF::InferShapeForFunction(
          main_func, arg_shapes_copy, producer_version);
    
      if (failed(result)) {
        return error_handler.Combine(
            errors::Internal("MLIR Shape refinement failed"));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top