Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for func_arguments_ (0.22 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

        return func_arguments_;
      }
      const llvm::SmallVector<Value>& FuncOutputs() const { return func_outputs_; }
    
     private:
      // Compute once at construction and save as field.
      const llvm::SmallVector<Value> func_arguments_;
      const llvm::SmallVector<Value> func_outputs_;
    };
    
    // Helper data structure for output parameters to `ExtractSubgraphToFunc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      IRMapping values_in_scope;
      // Function arguments can appear as operands, so they clone should
      // be aware of them.
      assert(subgraph.FuncArguments().size() == new_func.getNumArguments());
      for (int i = 0; i < subgraph.FuncArguments().size(); ++i) {
        Value original_value = subgraph.FuncArguments()[i];
        Value new_func_arg = new_func.getArgument(i);
        values_in_scope.map(original_value, new_func_arg);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

                func::FuncOp func = while_op.body_function();
                auto func_argument = func.getArgument(next_op_operand_num);
                // Check if the op is returned without mutation. Returning values
                // from a while op follow return or identity -> return pattern.
                if (checkIfAnyUserIsConnectedToTermiantor(func_argument))
                  next_values_to_visit.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top