Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for derrs (0.05 sec)

  1. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

                quantize_output.getType(), loc);
            new_arg = block.addArgument(arg_type, loc);
            quantize_op.setOperand(new_arg);
          } else {
            input_type.print(llvm::errs() << "Requested input type ");
            quantize_op.emitError(" Couldn't be modified to the requested type.");
            return failure();
          }
          new_input_types[i] = arg_type;
          arg.dropAllUses();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

                                        bool enable_select_tf_ops) {
      std::string error_msg;
      auto output = mlir::openOutputFile(output_filename, &error_msg);
      if (output == nullptr) {
        llvm::errs() << error_msg << '\n';
        return absl::InvalidArgumentError("cannot open output file.");
      }
    
      std::string result;
      if (output_mlir) {
        llvm::raw_string_ostream os(result);
        module.print(os);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

      auto module = TfToStablehlo(
          input_path, &context, exported_model_signatures_in_vector,
          tag_names_in_vector, input_arg_shapes_str, is_input_mlir_module);
      if (!module.ok()) {
        llvm::errs() << module.status().ToString() << "\n";
        return module.status().raw_code();
      }
    
      return mlir::ExportModule(module->get()).raw_code();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

      // This means this quantizable unit has been explicitly denylisted by the
      // user.
      if (IsDenylistedLiftedFunction(op)) {
        LLVM_DEBUG(llvm::errs() << "Denylisted quantizable unit: \n" << op << "\n");
        return false;
      }
    
      if (GetStableHloQuantConstraints(op)->has_same_scale_requirement) {
        return true;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
      auto maybe_module =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

                                                  batch_function.getOperands());
          return;
        }
        // For all other ops, we assume it mutates all resources it uses, so
        // this errs on the side of being conservative. We should improve
        // this by using either a property or a trait that clearly
        // identifies ops with resource mutating behavior.
        PropagatePotentiallyWrittenWithinUnhandledOp(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top