- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for outputs_ (0.12 sec)
-
tensorflow/cc/ops/while_loop_test.cc
Status LessThanTenCond(const Scope& s, const std::vector<Output>& inputs, Output* output) { *output = ops::Less(s, inputs[0], 10); return s.status(); } Status AddOneBody(const Scope& s, const std::vector<Output>& inputs, std::vector<Output>* outputs) { outputs->push_back(ops::Add(s, inputs[0], 1)); return s.status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/cc/framework/gradients.cc
const std::vector<Output>& outputs, const std::vector<Output>& inputs, std::vector<Output>* grad_outputs) { std::vector<Output> grad_inputs; grad_inputs.reserve(outputs.size()); for (const Output& output : outputs) { grad_inputs.emplace_back(ops::OnesLike(scope, output)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 22K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
params_->body_outputs[1] = params_->body_inputs[1]; // Finalize while loop ExpectOK(); // Validate while loop outputs returned by TF_FinishWhile() EXPECT_TRUE(outputs_[0].oper != nullptr); EXPECT_GE(outputs_[0].index, 0); EXPECT_TRUE(outputs_[1].oper != nullptr); EXPECT_GE(outputs_[1].index, 0); // Check that cond and body inputs are not present for (int i = 0; i < params_->ninputs; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
ResetOutputValues(); outputs_.clear(); for (TF_Operation* o : outputs) { outputs_.emplace_back(TF_Output{o, 0}); } output_values_.resize(outputs_.size()); } void CSession::SetOutputs(const std::vector<TF_Output>& outputs) { ResetOutputValues(); outputs_ = outputs; output_values_.resize(outputs_.size()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/cc/framework/while_gradients_test.cc
[](const Scope& s, const std::vector<Output>& inputs, Output* output) { *output = ops::Less(s, inputs[0], 10); return s.status(); }, [](const Scope& s, const std::vector<Output>& inputs, std::vector<Output>* outputs) { outputs->push_back(ops::AddN(s, {inputs[0], inputs[1]})); outputs->push_back(ops::AddN(s, {inputs[1], 1})); outputs->push_back(inputs[2]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 27 20:32:17 UTC 2017 - 7.7K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
explicit CSession(TF_Session* session); ~CSession(); void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs); void SetOutputs(std::initializer_list<TF_Operation*> outputs); void SetOutputs(const std::vector<TF_Output>& outputs); void SetTargets(std::initializer_list<TF_Operation*> targets); void Run(TF_Status* s); void CloseAndDelete(TF_Status* s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir
%outputs_6, %control_6 = tf_executor.island wraps "tf.AddV2"(%outputs_0, %outputs_3) {_xla_compile_device_type = "TPU", _replication_info = "cluster2"} : (tensor<i32>, tensor<i32>) -> tensor<i32> %outputs_7, %control_7 = tf_executor.island wraps "tf.AddV2"(%outputs_5, %outputs) {_xla_compile_device_type = "TPU", _replication_info = "cluster1"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 02 03:15:59 UTC 2022 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlprogram.mlir
%outputs_4, %control_5 = tf_executor.island wraps "tf.Range"(%outputs_2, %outputs_0, %outputs) {device = ""} : (tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<?xi32> %outputs_6, %control_7 = tf_executor.island wraps "tf.Sub"(%outputs_0, %arg0) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i32> %outputs_8, %control_9 = tf_executor.island wraps "tf.FloorDiv"(%outputs_6, %outputs) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 19:27:16 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize_compile_and_replicate_attributes.mlir
%outputs_4, %control_4 = tf_executor.island wraps "tf.Identity"(%outputs_3) {T = "tfdtype$DT_FLOAT", device = "", name = "output_0_shard_0"} : (tensor<0xf32>) -> tensor<0xf32> %control_5 = tf_executor.island(%control, %control_4) wraps "tf.NoOp"() : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/switchn.mlir
%outputs_18, %control_19 = "tf_executor.island"() ({ %0 = "tf.Mul"(%outputs_16#0, %outputs_4) {device = ""} : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32> "tf_executor.yield"(%0) : (tensor<*xf32>) -> () }) : () -> (tensor<*xf32>, !tf_executor.control) %outputs_20, %control_21 = "tf_executor.island"() ({
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 14:25:57 UTC 2022 - 4K bytes - Viewed (0)