- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 429 for tensor_b (0.16 sec)
-
tensorflow/compiler/jit/deadness_analysis_test.cc
TEST(DeadnessAnalysisTest, Recv) { Scope root = Scope::NewRootScope().ExitOnError(); Output recv_a = ops::_Recv(root.WithOpName("recv_a"), DT_FLOAT, "tensor_a", "sender", 0, "receiver"); Output recv_b = ops::_Recv(root.WithOpName("recv_b"), DT_FLOAT, "tensor_b", "sender", 0, "receiver"); Output add = ops::Add(root.WithOpName("add"), recv_a, recv_b);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
TEST(XlaCompilationTest, ClusterControlTrigger) { Scope root = Scope::NewRootScope().ExitOnError(); Output recv_a = ops::_Recv(root.WithOpName("recv_a"), DT_BOOL, "tensor_a", "sender", 0, "receiver"); Output recv_b = ops::_Recv(root.WithOpName("recv_b"), DT_BOOL, "tensor_b", "sender", 0, "receiver"); Output const_a = ops::Const(root.WithOpName("const_a"), 42);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
Gradient* grad_tensor = grad[grad_index]; if (grad_tensor != nullptr) { int64_t tensor_id = vspace_.TensorId(grad_tensor); targets.push_back(tensor_id); if (sources_set.find(tensor_id) != sources_set.end()) { sources_that_are_targets.emplace( tensor_id, vspace_.TapeTensorFromGradient(grad_tensor)); } Gradient* in_grad = in_grads[grad_index];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 12:40:29 UTC 2024 - 47.2K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis.cc
// "tensor_id() is live and evaluates to true". // // If `must_be_true()` is false then this SymbolPredicate represents the // proposition "tensor_id() is live (and may evaluate to any value)" TensorId tensor_id() const { return tensor_id_; } bool must_be_true() const { return must_be_true_; } private: TensorId tensor_id_; bool must_be_true_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
for (const int itensor : operations_[ioperation].tensors) { if (const auto& tensor = tensors_[itensor]; tensor.first_use() >= begin && tensor.first_use() < end && tensor.last_use() > peak_loc) { for (const int ioperation : tensor.operations) { // We return the earliest dependence on any output tensor. if (ioperation > peak_loc && ioperation < best) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 13.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
// Tensor types def TF_BoolTensor : TensorOf<[TF_Bool]>; def TF_IntTensor : TensorOf<[TF_Int]>; def TF_Int4Tensor : TensorOf<[TF_Int4]>; def TF_Int8Tensor : TensorOf<[TF_Int8]>; def TF_Int16Tensor : TensorOf<[TF_Int16]>; def TF_Int32Tensor : TensorOf<[TF_Int32]>; def TF_Int64Tensor : TensorOf<[TF_Int64]>; def TF_I32OrI64Tensor : TensorOf<[TF_I32OrI64]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 30.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
std::vector<TFE_TensorHandle*> result; result.reserve(tensors_.size()); for (const TensorHandlePtr& tensor : tensors_) { result.emplace_back(tensor.get()); } return result; } private: ParallelTensor(const ParallelDevice& device, std::vector<TensorHandlePtr> tensors, absl::Span<const int64_t> shape, const TF_DataType dtype) : device_(device),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 25 15:21:13 UTC 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_Status* status); // On success, enqueues `tensor` into a TF-managed FifoQueue given by // `tensor_id`, associated with `session`. There must be a graph node named // "fifo_queue_enqueue_<tensor_id>", to be executed by this API call. It reads // from a placeholder node "arg_tensor_enqueue_<tensor_id>". //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op.cc
CHECK(SerializeToTString(s, output_tstring)); TF_DeleteTensor(summary_tensor); } bool IsSameSize(TF_Tensor* tensor1, TF_Tensor* tensor2) { if (TF_NumDims(tensor1) != TF_NumDims(tensor2)) { return false; } for (int d = 0; d < TF_NumDims(tensor1); d++) { if (TF_Dim(tensor1, d) != TF_Dim(tensor2, d)) { return false; } } return true; } std::string SingleTag(TF_Tensor* tags) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
auto* ret = emptyTensor->tensor; delete emptyTensor; return ret; } Tensor tensor; if (!tensor.CopyFrom(src, src.shape())) { return nullptr; } return new tensorflow::TensorInterface(std::move(tensor)); } // Non-static for testing. TF_Tensor* TF_TensorFromTensor(const tensorflow::Tensor& src, Status* status) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0)