Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for canMove (0.21 sec)

  1. src/cmd/compile/internal/ssa/tighten.go

    		// Too many values live across blocks can cause pathological
    		// behavior in the register allocator (see issue 52180).
    		return
    	}
    
    	canMove := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(canMove)
    
    	// Compute the memory states of each block.
    	startMem := f.Cache.allocValueSlice(f.NumBlocks())
    	defer f.Cache.freeValueSlice(startMem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

        return failure();
      }
      return success();
    }
    
    // Check if we can move TPUCopyWithDynamicShapeOp out of a launch. This is the
    // case if its results aren't used by other ops except for the return op.
    bool CanMove(Operation* op) {
      auto launch_op = llvm::dyn_cast<tf_device::LaunchOp>(op->getParentOp());
      if (!launch_op) return false;
      for (Value result : op->getResults()) {
        for (Operation* user : result.getUsers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/tensor_interface.h

      virtual void* Data() const = 0;
    
      // Returns if the tensor is aligned
      virtual bool IsAligned() const = 0;
      // Returns if their is sole ownership of this Tensor and thus it can be moved.
      virtual bool CanMove() const = 0;
    
      virtual std::string SummarizeValue() const = 0;
    
     protected:
      virtual ~AbstractTensorInterface() {}
    };
    
    namespace internal {
    struct AbstractTensorInterfaceDeleter {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 09 23:17:07 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/c/tf_tensor_internal.h

      int64_t Dim(int dim_index) const override;
      int64_t NumElements() const override;
      size_t ByteSize() const override;
      void* Data() const override;
      bool IsAligned() const override;
      bool CanMove() const override;
      std::string SummarizeValue() const override;
    
      void SetShape(const int64_t* dims, int num_dims);
      Status ToTensor(tensorflow::Tensor* dst) const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"cancer":                               "\u264b",
    	"candle":                               "\U0001f56f\ufe0f",
    	"candy":                                "\U0001f36c",
    	"canned_food":                          "\U0001f96b",
    	"canoe":                                "\U0001f6f6",
    	"cape_verde":                           "\U0001f1e8\U0001f1fb",
    	"capital_abcd":                         "\U0001f520",
    	"capricorn":                            "\u2651",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    The created matcher forces a 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 with(any(Thing.class)) For example: assertThat(new Canoe(), instanceOf(Canoe.class)); instanceOf public static <T> Matcher<T> instanceOf(java.lang.Class<?> type) Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object) method...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    if(!this.args.params.layerRect){throw new Error('Missing layer rect');}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top