Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 234 for created (0.17 sec)

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

      auto* ctx = func.getContext();
      patterns.add<PushDownDequantize>(ctx);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    // Creates an instance of the TensorFlow Lite optimize op order pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeOpOrderPass() {
      return std::make_unique<OptimizeOpOrderPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

      common_error_message_.clear();
      error_collector_->Clear();
    }
    
    void ErrorCollectorInstrumentation::runAfterPassFailed(Pass *pass,
                                                           Operation *module) {
      // Create a new error if no errors collected yet.
      if (error_collector_->CollectedErrors().empty() &&
          !common_error_message_.empty()) {
        error_collector_->ReportError(NewConverterErrorData(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

      patterns->add<odml::ConvertCustomCallOp>(context);
      populateWithGenerated(*patterns);
    
      patterns->add<ConvertReduceOpToTFLiteArgmin, ConvertReduceOpToTFLiteArgmax>(
          context);
    }
    
    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfLitePass() {
      return std::make_unique<LegalizeHloToTfLitePass>();
    }
    
    // Registers the pass implementation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          return rewriter.notifyMatchFailure(
              contraction,
              "fused operation must be nested inside a function, If or While");
        }
    
        // If the contraction is used in multiple places, fusing it will only create
        // more contraction nodes, which is slower.
        if (!contraction.getResult().hasOneUse())
          return rewriter.notifyMatchFailure(contraction,
                                             "result is used by multiple ops");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

                                          data_types, outside_compilation_nodes, g,
                                          n);
    
      return absl::OkStatus();
    }
    
    // Creates a mapping from outside compilation cluster name to lifted argument
    // placeholder.
    absl::StatusOr<std::unordered_map<string, Node*>> OutsideCompilationAttrToNode(
        const Graph& g) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/python/mlir.cc

      std::string error;
      std::unique_ptr<llvm::ToolOutputFile> outputFile =
          mlir::openOutputFile(filename, &error);
      if (!error.empty()) {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     ("Unable to create output file " + error).c_str());
        return;
      }
      outputFile->keep();
      if (failed(mlir::writeBytecodeToFile(*module, outputFile->os(),
                                           writer_config))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

            }
          }
    
          // Replace the arg with a tf.Const op in the function body.
          builder.setInsertionPointToStart(&func.getBody().front());
          auto const_op = builder.create<TF::ConstOp>(global_tensor.getLoc(),
                                                      *global_tensor.getValue());
          args_to_erase.set(val.getArgNumber());
          for (auto read_op : read_variable_ops_to_erase) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

          return;
        }
        for (Predicate* op : current->GetOperands()) {
          if (visited.insert(op).second) {
            stack.push_back(op);
          }
        }
      }
    }
    
    // Creates and owns Predicate instances.  Simplifies predicates as it creates
    // them.
    class PredicateFactory {
     public:
      Predicate* MakeAndPredicate(absl::Span<Predicate* const> operands) {
        return MakeAndOrImpl(operands, /*is_and=*/true);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      EXPECT_EQ(clusters["B_dev1"], clusters["MatMul1_dev1"]);
    }
    
    // TODO(b/117085735): This form of clustering should be prevented.
    TEST(XlaCompilationTest, NOT_DontClusterSpreadingNodes) {
      // MatMulSource below creates data for nodes on GPU0 and GPU1 and is placed
      // on GPU0. However, it should not be clustered with the next node on
      // GPU0, because that will prevent the node on GPU1 from beginning its work as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen.cc

                         const CompileResult& compile_result, string* methods) {
      const int num_args = ps.parameters_size();
      // feed_size() + variable_size() is the maximum number of args as an
      // implementation may not create an argument for an unused variable.
      if (config.feed_size() + config.variable_size() < num_args) {
        return errors::InvalidArgument(
            "mismatch between feed_size(", config.feed_size(), ")+variable_size(",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top