Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for status_handler (0.31 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

        return status_handler.ConsumeStatus();
      }
      if (export_to_mlir) {
        llvm::raw_string_ostream os(*result);
        module.print(os);
        return status_handler.ConsumeStatus();
      }
      pass_manager.clear();
      pass_manager.addPass(mlir::odml::createLegalizeStablehloToVhloPass());
      if (failed(pass_manager.run(module))) {
        return status_handler.Combine(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

        const bool deserialize_xla_call_module,
        llvm::ArrayRef<llvm::ArrayRef<int64_t>> input_arg_shapes) {
      mlir::PassManager pm_before_freezing_variables(context);
      mlir::StatusScopedDiagnosticHandler statusHandler(module_op.getContext(),
                                                        /*propagate=*/true);
    
      mlir::TF::StandardPipelineOptions standard_pipeline_options;
      standard_pipeline_options.enable_inliner = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/python/mlir.cc

                       ("Invalid pass_pipeline: " + error_stream.str()).c_str());
          return "// error";
        }
    
        mlir::StatusScopedDiagnosticHandler statusHandler(module.getContext());
        if (failed(pm.run(module))) {
          tsl::Set_TF_Status_from_Status(status, statusHandler.ConsumeStatus());
          return "// error";
        }
      }
      return MlirModuleToString(module, show_debug_info);
    }
    
    }  // anonymous namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top