- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for canMove (0.08 sec)
-
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) -
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) -
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) -
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)