Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canMove (0.08 sec)

  1. tensorflow/c/tf_tensor.cc

      if (Type() == DT_STRING && NumElements() > 0) {
        TF_TString* data = static_cast<TF_TString*>(Data());
        if (CanMove() && data != nullptr) {
          for (int64_t i = 0; i < NumElements(); ++i) {
            TF_TString_Dealloc(&data[i]);
          }
        }
      }
      delete this;
    }
    
    bool TensorInterface::CanMove() const {
      // It is safe to move the Tensor if and only if we own the unique reference to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          setMode(IDLE);
          svg.removeEventListener('mousemove', handleScanMove);
          return;
        }
        if (mode == MOUSEPAN) panMove(e.clientX, e.clientY);
      }
    
      function handleScanEnd(e) {
        if (mode == MOUSEPAN) panMove(e.clientX, e.clientY);
        setMode(IDLE);
        svg.removeEventListener('mousemove', handleScanMove);
        if (!moved) clickHandler(e.target);
      }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    relationship between specified type and the examined object, and should be * used when it is necessary to make generics conform, for example in the JMock clause * <code>with(any(Thing.class))</code></p> * <p/> * For example: * <pre>assertThat(new Canoe(), instanceOf(Canoe.class));</pre> */ public static <T> org.hamcrest.Matcher<T> any(java.lang.Class<T> type) { return org.hamcrest.core.IsInstanceOf.<T>any(type); } /** * Creates a matcher that matches when the examined object is an instance of the specified...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 31.9K bytes
    - Viewed (0)
Back to top