Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ConsumePrefix (0.14 sec)

  1. tensorflow/cc/framework/scope.cc

      std::vector<string> node_constraints;
      if (TryGetNodeAttr(attrs, kColocationAttrName, &node_constraints)) {
        for (const string& entry : node_constraints) {
          StringPiece s(entry);
          if (absl::ConsumePrefix(&s, kColocationGroupPrefix)) {
            current_constraints.emplace(s);
          }
        }
      } else {
        current_constraints.insert(colocate_with_op.node()->name());
      }
      return current_constraints;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/flags.cc

            1;
        mark_for_compilation_flags->tf_xla_ops_to_cluster = "FUSIBLE";
        return true;
      }
    
      absl::string_view value_sv(value);
      if (!absl::ConsumePrefix(&value_sv, "single-gpu(") ||
          !absl::ConsumeSuffix(&value_sv, ")") ||
          !absl::SimpleAtoi(value_sv, &opt_level)) {
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top