include_optional_kernels.h#
-
namespace ONNX_LIGHT_NAMESPACE
-
namespace onnx_backend_test
-
namespace kernel
-
class Optional#
- #include <include_optional_kernels.h>
Wraps a single tensor
inputinto an optional-of-tensor value. The output’s element type, shape and bytes are an exact copy ofinput.Public Functions
-
inline explicit Optional(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Output is a byte-for-byte copy of
input, so storage may safely be shared with the input buffer.
Private Members
-
KernelContext ctx_#
-
inline explicit Optional(const KernelContext &ctx)#
-
class Optional#
-
namespace kernel
-
namespace onnx_backend_test