Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for getNumArguments (0.8 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        SmallPtrSet<Operation*, 4> ops_connected_to_fetch, int num_old_outputs) {
      assert(num_old_outputs + resource_equivalence_classes.getNumClasses() ==
             func.getNumArguments());
      auto graph_op = cast<GraphOp>(func.front().front());
    
      auto fetch = graph_op.GetFetch();
      OpBuilder builder_chain_src(fetch);
      builder_chain_src.setInsertionPointToStart(fetch->getBlock());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

            *module_op->getBodyRegion().getOps().begin());
        if (!func_op) {
          return absl::InternalError("Input MLIR must have only 1 func");
        }
        if (arguments.size() != func_op.getNumArguments()) {
          return absl::InternalError("Input argument has wrong size");
        }
    
        // Convert input xla::Literal arguments to constants, this allows using
        // constant folding to evaluate function return value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

            decomposed_partitioned_call_callees) {
      OpBuilder builder(while_op);
      auto modify_region_arguments = [&](Region& region) {
        int64_t original_arg_count = region.getNumArguments();
        for (int64_t i = 0; i < original_arg_count; ++i) {
          auto operand = while_op.getOperand(i);
          auto it = buffer_to_size->find(operand);
          if (it == buffer_to_size->end()) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top