- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,720 for inputs_ (0.11 sec)
-
tensorflow/cc/framework/ops.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/cc/framework/ops.cc
} Operation::Inputs Operation::GetInputs(Node* node) { Operation::Inputs inputs; if (node != nullptr) { inputs.resize(node->num_inputs(), {nullptr, -1}); for (const Edge* e : node->in_edges()) { if (e->IsControlEdge()) continue; inputs[e->dst_input()] = std::make_pair(e->src(), e->src_output()); } } return inputs; } Input::Initializer::Initializer(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/cc/framework/while_gradients_test.cc
for (int i = 0; i < num_inputs; ++i) { inputs_.push_back(ops::Placeholder(scope_, dtype)); } } void CreateLoop(const ops::CondGraphBuilderFn& cond, const ops::BodyGraphBuilderFn& body, const std::vector<Output>* inputs = nullptr) { if (inputs == nullptr) inputs = &inputs_; TF_ASSERT_OK(ops::BuildWhileLoop(scope_, *inputs, cond, body, "test_loop",
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/cc/framework/gradients.cc
return errors::InvalidArgument( "Must specify a gradient input for each output."); } std::vector<bool> reachable_nodes = GetReachableNodes(); for (const Output& input : inputs_) { if (!reachable_nodes[input.node()->id()]) { return errors::InvalidArgument( "Cannot compute the partial derivative for node '", input.node()->name(), "' as it's unreachable from the output node(s).");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 22K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
} template <typename T> void Run(const std::vector<Input::Initializer>& input_values, const std::vector<T>& expected_output_values) { ClientSession session(scope_); DCHECK_EQ(input_values.size(), inputs_.size()); ClientSession::FeedType feeds; for (int i = 0; i < inputs_.size(); ++i) { feeds.emplace(inputs_[i], input_values[i]); } std::vector<Tensor> out_tensors;
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/c/while_loop_test.cc
Init(2); // Create nested loop: // while (input1 < 6) { // inner_input1 = input1 // while (inner_input1 < 3) { // input2 += 1 // inner_input1 += 2 // } // input1 += input2 // } // // Expected execution with initial values input1 = input2 = 0: // // outer inner inner_ // step# step# input1 input2 input1 // ------------------------------------
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/eager/c_api_unified_experimental_graph.cc
} Status AddInput(AbstractTensorHandle* input) override { GraphTensor* t = dyn_cast<GraphTensor>(input); if (!t) { return tensorflow::errors::InvalidArgument( "Unable to cast input to GraphTensor"); } TF_AddInput(op_.get(), t->output_); return absl::OkStatus(); } Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteStatus(s); } void CSession::SetInputs( std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs) { DeleteInputValues(); inputs_.clear(); for (const auto& p : inputs) { inputs_.emplace_back(TF_Output{p.first, 0}); input_values_.emplace_back(p.second); } } void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) {
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/compiler/jit/xla_launch_util_test.cc
std::vector<const Tensor*> inputs; inputs.push_back(a); inputs.push_back(b); TF_ASSERT_OK_AND_ASSIGN(auto execute_outputs, RunExecutable(inputs, {}, result, executable)); TF_EXPECT_OK(PopulateCtxOutputsFromPjRtExecutableOutputs( /*num_missing_prefix_ctx_inputs=*/0, inputs, {}, *result,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype, TF_Graph* graph, TF_Status* s); // Split `input` along the first dimension into 3 tensors TF_Operation* Split3(TF_Operation* input, TF_Graph* graph, TF_Status* s, const char* name = "split3"); bool IsPlaceholder(const tensorflow::NodeDef& node_def);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0)