- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_AddInput (0.08 sec)
-
tensorflow/c/eager/c_api_unified_experimental_graph.cc
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(); } absl::Status AddInputList( absl::Span<AbstractTensorHandle* const> inputs) override { std::vector<TF_Output> tf_outputs(inputs.size());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
if (transpose_a) { TF_SetAttrBool(desc, "transpose_a", 1); } if (transpose_b) { TF_SetAttrBool(desc, "transpose_b", 1); } TF_AddInput(desc, {l, 0}); TF_AddInput(desc, {r, 0}); TF_Operation* op = TF_FinishOperation(desc, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); return op; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
const std::string final_op("Id"); TF_SetAttrString(reduce_desc, "final_op", final_op.c_str(), final_op.length()); TF_SetAttrIntList(reduce_desc, "subdiv_offsets", nullptr, 0); TF_AddInput(reduce_desc, x); TF_Operation* reduce_op = TF_FinishOperation(reduce_desc, status); if (TF_GetCode(status) != TF_OK) return; TF_Operation* operations[]{placeholder_op, reduce_op}; TF_Output y{reduce_op, 0};
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
return TF_NewOperationLocked(graph, op_type, oper_name); } void TF_SetDevice(TF_OperationDescription* desc, const char* device) { desc->node_builder.Device(device); } void TF_AddInput(TF_OperationDescription* desc, TF_Output input) { desc->node_builder.Input(&input.oper->node, input.index); } void TF_AddInputList(TF_OperationDescription* desc, const TF_Output* inputs,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)