Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for kClassAttr (0.07 sec)

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

      ArrayAttr classes_attr = op->getAttrOfType<ArrayAttr>(kClassAttr);
      if (!classes_attr) {
        // Attempt to parse "_class" from the IdentityOp that follows VariableV2.
        // For read-only reference variables, IdentityOp should be the only user of
        // VariableV2.
        auto identity_op = op->getUsers().begin();
        classes_attr = identity_op->getAttrOfType<ArrayAttr>(kClassAttr);
        if (!classes_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top