Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DuplicateShapeDeterminingConstants (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    template <typename T, typename... Ts>
    void DuplicateShapeDeterminingConstants(func::FuncOp func_op) {
      for (auto op : func_op.getOps<typename T::OpType>()) {
        RecursivelyDuplicateConstantsForOperands(
            GetOperands(*op, T::OperandIndices()));
      }
    
      // Do the same thing for the rest of `Ts`.
      if constexpr (sizeof...(Ts) != 0) {
        DuplicateShapeDeterminingConstants<Ts...>(func_op);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top