- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 285 for tensor_b (0.33 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/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/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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
}]; let arguments = (ins Arg<TF_Int32Tensor, [{int32 `Tensor`.}]>:$arr, Arg<TF_Int32Tensor, [{non-negative int32 scalar `Tensor`.}]>:$size, Arg<TensorOf<[TF_Float32, TF_Float64, TF_Int32, TF_Int64]>, [{is an int32, int64, float32, or float64 `Tensor` with the same shape as `arr`, or a length-0 `Tensor`, in which case it acts as all weights equal to 1.}]>:$weights );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
for (int component_index = 0; component_index < tensors_.size(); ++component_index) { // TODO(allenl): Add a C API for summarizing tensors. Currently custom // devices limiting themselves to a C API (for ABI compatibility) would need // to implement summarization for component tensors themselves. ImmediateExecutionTensorHandle* component = tensorflow::unwrap(tensors_[component_index].get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 07:47:20 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/cc/framework/ops.h
DataType data_type() const { return data_type_; } Status status() const { return status_; } const Tensor& tensor() const { return tensor_; } private: Status status_; Output output_ = Output(Operation(nullptr), 0); Tensor tensor_; const std::string node_name_ = ""; int32 index_ = 0; DataType data_type_ = DT_INVALID; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0)