Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasValidMinMaxAttribute (0.27 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        // We only match the op with valid "minmax" attribute.
        if (!HasValidMinMaxAttribute(op)) return failure();
    
        // If all the users of this op have valid "minmax" attributes, it is matched
        // and can be removed.
        auto fakeQuantOp = cast<FakeQuantOp>(op);
        for (auto* operand : fakeQuantOp.getResult().getUsers())
          if (!HasValidMinMaxAttribute(operand)) return failure();
    
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top