Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 234 for eraseOp (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    2. you might want to add generated checksums to the list above
    3. when _updating_ dependency verification file with more secure checksums, you don't want to accidentally erase checksums
    
    [[sec:signature-verification]]
    == Verifying dependency signatures
    
    In addition to <<sec:checksum-verification,checksums>>, Gradle supports verification of signatures.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

                                 expected_function.signature().name(), "'");
          }
          return false;
        }
        if (!EqualFunctionDef(expected_function, *it->second, diff)) return false;
        actual_index.erase(it);
      }
    
      if (!actual_index.empty()) {
        if (diff != nullptr) {
          *diff =
              absl::StrCat("Found unexpected function '",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    // CHECK: "tf.opB"([[REPLICATE]]#0)
    
    // -----
    
    // TF produces Identity ops between TPUReplicatedOutput and
    // TPUPartitionedOutputV2 ops. This test ensures that they are erased
    // and not considered within the clustered computation. It also ensures that
    // the expected interleaving pattern is present in the output.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top