Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
API Tensorflow lõi
Bản tóm tắt
Typedef |
---|
OutputList | typedef std::vector< Output > Một loại để biểu thị đầu ra của các hoạt động tạo ra nhiều đầu ra hoặc danh sách các tensor. |
Typedef
Danh sách đầu ra
std::vector< Output > OutputList
Một loại để biểu thị đầu ra của các hoạt động tạo ra nhiều đầu ra hoặc danh sách các tensor.
Chức năng
TạoOutputWithScope
Status CreateOutputWithScope(
string op_name,
absl::Span< const ::tensorflow::Input > inputs,
const Scope & scope,
Output *output
)
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],[],null,["# Core Tensorflow API\n===================\n\nSummary\n-------\n\n| ### Typedefs ||\n|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [OutputList](#group__core_1gab449e6a3abd500c2f4ea93f9e89ba96c) | typedef `std::vector\u003c Output \u003e` A type for representing the output of ops that produce more than one output, or a list of tensors. |\n\n| ### Functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| [CreateOutputWithScope](#group__core_1gaef88caf2b9d160822f9641a621dbb5c4)`(string op_name, absl::Span\u003c const ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e inputs, const Scope & scope, Output *output)` | `Status` |\n\n| ### Classes ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ClientSession](/versions/r2.3/api_docs/cc/class/tensorflow/client-session) | A [ClientSession](/versions/r2.3/api_docs/cc/class/tensorflow/client-session#classtensorflow_1_1_client_session) object lets the caller drive the evaluation of the TensorFlow graph constructed with the C++ API. |\n| [tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input) | Represents a tensor value that can be used as an operand to an [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation). |\n| [tensorflow::InputList](/versions/r2.3/api_docs/cc/class/tensorflow/input-list) | A type for representing the input to ops that require a list of tensors. |\n| [tensorflow::Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation) | Represents a node in the computation graph. |\n| [tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output) | Represents a tensor value produced by an [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation). |\n| [tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope) | A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object represents a set of related TensorFlow ops that have the same properties such as a common name prefix. |\n| [tensorflow::TensorBuffer](/versions/r2.3/api_docs/cc/class/tensorflow/tensor-buffer) | |\n\nTypedefs\n--------\n\n### OutputList\n\n```text\nstd::vector\u003c Output \u003e OutputList\n``` \nA type for representing the output of ops that produce more than one output, or a list of tensors.\n\nFunctions\n---------\n\n### CreateOutputWithScope\n\n```gdscript\nStatus CreateOutputWithScope(\n string op_name,\n absl::Span\u003c const ::tensorflow::Input \u003e inputs,\n const Scope & scope,\n Output *output\n)\n```"]]