- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for MakeCallOp (0.11 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h
// taking + returning flat lists of tensors, including any captures. // Effectively, it is a thin wrapper around a FunctionDef owned by the // EagerContext, and any TensorHandle captures associated with the function. The // MakeCallOp method handles the logic of marshaling captures after the user // provided inputs automatically. // Note(bmzhao): This class is mainly intended to house low-level reusable
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 22 21:03:41 UTC 2020 - 3.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.cc
return Status(); } const FunctionMetadata& TFConcreteFunction::GetFunctionMetadata() const { return metadata_; } Status TFConcreteFunction::MakeCallOp( absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const { return func_->MakeCallOp(inputs, out); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.cc
} const SignatureDefFunctionMetadata& TFSignatureDefFunction::GetFunctionMetadata() const { return metadata_; } Status TFSignatureDefFunction::MakeCallOp( absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const { return func_->MakeCallOp(inputs, out); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 07:01:57 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc
} out->reset(new FlatTensorFunction(function_def->signature().name(), std::move(owned_captures), ctx)); return Status(); } Status FlatTensorFunction::MakeCallOp( absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const { out->reset(ctx_->CreateOperation()); // In eager mode, TF2 python executes functions by constructing an op with
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/concrete_function.cc
reinterpret_cast<tensorflow::AbstractTensorHandle**>( tensorflow::unwrap(inputs)), static_cast<size_t>(num_inputs)); status->status = tensorflow::unwrap(func)->MakeCallOp(input_span, &call_op); if (!status->status.ok()) { return nullptr; } return tensorflow::wrap(call_op.release()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/signature_def_function.cc
reinterpret_cast<tensorflow::AbstractTensorHandle**>( tensorflow::unwrap(inputs)), static_cast<size_t>(num_inputs)); status->status = tensorflow::unwrap(func)->MakeCallOp(input_span, &call_op); if (!status->status.ok()) { return nullptr; } return tensorflow::wrap(call_op.release()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 17 23:03:48 UTC 2020 - 2.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/concrete_function.h
// and have only a single implementation. class ConcreteFunction { public: virtual ~ConcreteFunction() = default; // This method returns the "Call" Op used to execute the function. virtual Status MakeCallOp(absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const = 0; virtual const FunctionMetadata& GetFunctionMetadata() const = 0; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 29 15:50:58 UTC 2021 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc
#include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace { Status ExecuteNoArgDummyReturnFunction(TFConcreteFunction* func) { ImmediateOpPtr function_op; TF_RETURN_IF_ERROR(func->MakeCallOp({}, &function_op)); AbstractTensorHandle* dummy_output = nullptr; int num_retvals = 1; TF_RETURN_IF_ERROR(function_op->Execute( absl::MakeSpan(&dummy_output, num_retvals), &num_retvals));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h
ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out); // This method returns the "Call" Op used to execute the function. Status MakeCallOp(absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const override; const FunctionMetadata& GetFunctionMetadata() const override; ~TFConcreteFunction() override = default;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/signature_def_function.h
class SignatureDefFunction { public: virtual ~SignatureDefFunction() = default; // Creates a "Call" Op used to execute the function. virtual Status MakeCallOp(absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const = 0; virtual const SignatureDefFunctionMetadata& GetFunctionMetadata() const = 0; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 17 23:03:48 UTC 2020 - 3.3K bytes - Viewed (0)