Module: Tensorflow::FFI
- Extended by:
- FFI::Library
- Defined in:
- lib/tensorflow/ffi.rb
Defined Under Namespace
Classes: AttrMetadata, Buffer, Input, Output
Constant Summary collapse
- AttrType =
enum(:string, :int, :float, :bool, :type, :shape, :tensor, :placeholder, :func)
- DataType =
enum(:float, 1, :double, :int32, :uint8, :int16, :int8, :string, :complex64, :int64, :bool, :qint8, :quint8, :qint32, :bfloat16, :qint16, :quint16, :uint16, :complex128, :half, :resource, :variant, :uint32, :uint64)
- StatusCode =
enum(:tf_ok, 0, :tf_cancelled, 1, :tf_unknown, 2, :tf_invalid_argument, 3, :tf_deadline_exceeded, 4, :tf_not_found, 5, :tf_already_exists, 6, :tf_permission_denied, 7, :tf_unauthenticated, 16, :tf_resource_exhausted, 8, :tf_failed_precondition, 9, :tf_aborted, 10, :tf_out_of_range, 11, :tf_unimplemented, 12, :tf_internal, 13, :tf_unavailable, 14, :tf_data_loss, 15)
- ContextDevicePlacementPolicy =
enum(:explicit, :warn, :silent, :silent_for_int32)