Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resourceSet (0.17 sec)

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

    void RegionResourceHoister::GenerateHoistedReads() {
      OpBuilder builder(op_);
      DictionaryAttr empty_attrs = builder.getDictionaryAttr({});
      for (auto& resource_it : GetResources()) {
        Value resource = resource_it.first;
        auto& info = resource_it.second;
    
        if (info.is_read) {
          Operation* read = builder.create<TF::ReadVariableOp>(
              op_->getLoc(), info.data_type, resource);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top