Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 90 for eraseOp (0.15 sec)

  1. src/cmd/compile/internal/ssagen/phi.go

    	// Generate phi ops for each variable.
    	for n := range vartypes {
    		s.insertVarPhis(n, vars[n], defs[n], vartypes[n])
    	}
    
    	// Resolve FwdRefs to the correct write or phi.
    	s.resolveFwdRefs()
    
    	// Erase variable numbers stored in AuxInt fields of phi ops. They are no longer needed.
    	for _, b := range s.f.Blocks {
    		for _, v := range b.Values {
    			if v.Op == ssa.OpPhi {
    				v.AuxInt = 0
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  2. pkg/adsc/delta.go

    			resourceName = ""
    		}
    		key := resourceKey{
    			Name:    resourceName,
    			TypeURL: typeURL,
    		}
    		existing, f := c.tree[key]
    		if f {
    			// We are watching directly now, so erase any parents
    			existing.Parents = nil
    			existing.Children = nil
    		} else {
    			c.tree[key] = resourceNode{
    				Parents:  make(keySet),
    				Children: make(keySet),
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    type VersionPurgeStatusType string
    
    const (
    	// Pending - versioned delete replication is pending.
    	Pending VersionPurgeStatusType = "PENDING"
    
    	// Complete - versioned delete replication is now complete, erase version on disk.
    	Complete VersionPurgeStatusType = "COMPLETE"
    
    	// Failed - versioned delete replication failed.
    	Failed VersionPurgeStatusType = "FAILED"
    )
    
    // Empty returns true if purge status was not set.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      Walk([&](Value value, ValueConstraint constraint) {
        if (succeeded(IsStaticallyResolved(value, constraint)))
          resolved.insert(value);
      });
      for (Value value : resolved) constraints_.erase(value);
      return *this;
    }
    
    ValuesConstraintSet &ValuesConstraintSet::Reset() {
      constraints_.clear();
      return *this;
    }
    
    size_t ValuesConstraintSet::Size() const { return constraints_.size(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/object.h

      void Set(const String& key, Handle h) {
        value_.dict()[key.value_] = std::move(h.value_);
      }
    
      /// Removes `key` from the object's attributes.
      void Unset(const String& key) { value_.dict().erase(key.value_); }
      // TODO(b/): Adding dir() is in the future.
     private:
      // Private since it is in general unsafe.
      explicit Object(TaggedValue v) : Handle(std::move(v)) {}
      template <class T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/kernels/xla_ops.cc

        mutex_lock l(mutex_);
        auto it = closures_.find(key);
        DCHECK(it != closures_.end());
        ExecutableClosure<ExecutableType, ClientType> value = std::move(it->second);
        closures_.erase(it);
        return value;
      }
    
      static ExecutableClosureStore* Global() {
        static ExecutableClosureStore* instance = new ExecutableClosureStore;
        return instance;
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen.cc

      }
      std::vector<string> parts = absl::StrSplit(cpp_class, "::");
      if (parts.front().empty()) {
        // Allow a fully qualified name that starts with "::".
        parts.erase(parts.begin());
      }
      for (int i = 0, end = parts.size(); i < end; ++i) {
        if (i < end - 1) {
          TF_RETURN_IF_ERROR(ValidateCppIdent(
              parts[i], "in namespace component of cpp_class: " + cpp_class));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

              // write acts as a barrier for those IDs).
              VLOG(4) << "      Clearing resource access info for ID " << id;
              per_resource_access_info_.erase(id);
            }
          }
        }
      }
      // Now update access info for `resource_id`.
      auto& access_info = per_resource_access_info_[resource_id];
      if (read_only) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                    children, " doesn't match the prefix ", prefix)
                           .c_str());
          return result;
        }
        children.erase(0, prefix.length());
        if (!children.empty() || include_self_directory_marker) {
          result.emplace_back(children);
        }
        ++count;
      }
    
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
Back to top