zea.ops.keras_ops¶
Auto-generated zea.Operation for all unary keras.ops
and keras.ops.image functions.
They can be used in zea pipelines like any other zea.Operation, for example:
>>> from zea.ops.keras_ops import Squeeze
>>> op = Squeeze(axis=1)
This file is generated automatically. Do not edit manually. Generated with Keras 3.12.0
Classes
|
Operation wrapping keras.ops.abs. |
|
Operation wrapping keras.ops.absolute. |
|
Operation wrapping keras.ops.image.affine_transform. |
|
Operation wrapping keras.ops.all. |
|
Operation wrapping keras.ops.amax. |
|
Operation wrapping keras.ops.amin. |
|
Operation wrapping keras.ops.angle. |
|
Operation wrapping keras.ops.any. |
|
Operation wrapping keras.ops.arccos. |
|
Operation wrapping keras.ops.arccosh. |
|
Operation wrapping keras.ops.arcsin. |
|
Operation wrapping keras.ops.arcsinh. |
|
Operation wrapping keras.ops.arctan. |
|
Operation wrapping keras.ops.arctanh. |
|
Operation wrapping keras.ops.argmax. |
|
Operation wrapping keras.ops.argmin. |
|
Operation wrapping keras.ops.argpartition. |
|
Operation wrapping keras.ops.argsort. |
|
Operation wrapping keras.ops.array. |
|
Operation wrapping keras.ops.average. |
|
Operation wrapping keras.ops.bartlett. |
|
Operation wrapping keras.ops.batch_normalization. |
|
Operation wrapping keras.ops.bincount. |
|
Operation wrapping keras.ops.bitwise_and. |
|
Operation wrapping keras.ops.bitwise_invert. |
|
Operation wrapping keras.ops.bitwise_left_shift. |
|
Operation wrapping keras.ops.bitwise_not. |
|
Operation wrapping keras.ops.bitwise_or. |
|
Operation wrapping keras.ops.bitwise_right_shift. |
|
Operation wrapping keras.ops.bitwise_xor. |
|
Operation wrapping keras.ops.blackman. |
|
Operation wrapping keras.ops.broadcast_to. |
|
Operation wrapping keras.ops.cast. |
|
Operation wrapping keras.ops.cbrt. |
|
Operation wrapping keras.ops.ceil. |
|
Operation wrapping keras.ops.celu. |
|
Operation wrapping keras.ops.cholesky. |
|
Operation wrapping keras.ops.cholesky_inverse. |
|
Operation wrapping keras.ops.clip. |
|
Operation wrapping keras.ops.conj. |
|
Operation wrapping keras.ops.conjugate. |
|
Operation wrapping keras.ops.convert_to_numpy. |
|
Operation wrapping keras.ops.convert_to_tensor. |
|
Operation wrapping keras.ops.copy. |
|
Operation wrapping keras.ops.corrcoef. |
|
Operation wrapping keras.ops.cos. |
|
Operation wrapping keras.ops.cosh. |
|
Operation wrapping keras.ops.count_nonzero. |
|
Operation wrapping keras.ops.image.crop_images. |
|
Operation wrapping keras.ops.cumprod. |
|
Operation wrapping keras.ops.cumsum. |
|
Operation wrapping keras.ops.deg2rad. |
|
Operation wrapping keras.ops.det. |
|
Operation wrapping keras.ops.diag. |
|
Operation wrapping keras.ops.diagflat. |
|
Operation wrapping keras.ops.diagonal. |
|
Operation wrapping keras.ops.digitize. |
|
Operation wrapping keras.ops.dtype. |
|
Operation wrapping keras.ops.eig. |
|
Operation wrapping keras.ops.eigh. |
|
Operation wrapping keras.ops.image.elastic_transform. |
|
Operation wrapping keras.ops.elu. |
|
Operation wrapping keras.ops.erf. |
|
Operation wrapping keras.ops.erfinv. |
|
Operation wrapping keras.ops.exp. |
|
Operation wrapping keras.ops.exp2. |
|
Operation wrapping keras.ops.expand_dims. |
|
Operation wrapping keras.ops.expm1. |
|
Operation wrapping keras.ops.image.extract_patches. |
|
Operation wrapping keras.ops.extract_sequences. |
|
Operation wrapping keras.ops.fft. |
|
Operation wrapping keras.ops.fft2. |
|
Operation wrapping keras.ops.flip. |
|
Operation wrapping keras.ops.floor. |
|
Operation wrapping keras.ops.full_like. |
|
Operation wrapping keras.ops.image.gaussian_blur. |
|
Operation wrapping keras.ops.gelu. |
|
Operation wrapping keras.ops.get_item. |
|
Operation wrapping keras.ops.glu. |
|
Operation wrapping keras.ops.hamming. |
|
Operation wrapping keras.ops.hanning. |
|
Operation wrapping keras.ops.hard_shrink. |
|
Operation wrapping keras.ops.hard_sigmoid. |
|
Operation wrapping keras.ops.hard_silu. |
|
Operation wrapping keras.ops.hard_swish. |
|
Operation wrapping keras.ops.hard_tanh. |
|
Operation wrapping keras.ops.histogram. |
|
Operation wrapping keras.ops.image.hsv_to_rgb. |
|
Operation wrapping keras.ops.ifft2. |
|
Operation wrapping keras.ops.imag. |
|
Operation wrapping keras.ops.inv. |
|
Operation wrapping keras.ops.irfft. |
|
Operation wrapping keras.ops.is_tensor. |
|
Operation wrapping keras.ops.isfinite. |
|
Operation wrapping keras.ops.isinf. |
|
Operation wrapping keras.ops.isnan. |
|
Operation wrapping keras.ops.isneginf. |
|
Operation wrapping keras.ops.isposinf. |
|
Operation wrapping keras.ops.isreal. |
|
Operation wrapping keras.ops.istft. |
|
Operation wrapping keras.ops.kaiser. |
|
Operation wrapping keras.ops.layer_normalization. |
|
Operation wrapping keras.ops.leaky_relu. |
|
Operation wrapping keras.ops.left_shift. |
|
Operation wrapping keras.ops.log. |
|
Operation wrapping keras.ops.log10. |
|
Operation wrapping keras.ops.log1p. |
|
Operation wrapping keras.ops.log2. |
|
Operation wrapping keras.ops.log_sigmoid. |
|
Operation wrapping keras.ops.log_softmax. |
|
Operation wrapping keras.ops.logdet. |
|
Operation wrapping keras.ops.logical_not. |
|
Operation wrapping keras.ops.logsumexp. |
|
Operation wrapping keras.ops.lu_factor. |
|
Operation wrapping keras.ops.max. |
|
Operation wrapping keras.ops.mean. |
|
Operation wrapping keras.ops.median. |
|
Operation wrapping keras.ops.meshgrid. |
|
Operation wrapping keras.ops.min. |
|
Operation wrapping keras.ops.moments. |
|
Operation wrapping keras.ops.moveaxis. |
|
Operation wrapping keras.ops.nan_to_num. |
|
Operation wrapping keras.ops.ndim. |
|
Operation wrapping keras.ops.negative. |
|
Operation wrapping keras.ops.nonzero. |
|
Operation wrapping keras.ops.norm. |
|
Operation wrapping keras.ops.normalize. |
|
Operation wrapping keras.ops.one_hot. |
|
Operation wrapping keras.ops.ones_like. |
|
Operation wrapping keras.ops.pad. |
|
Operation wrapping keras.ops.image.pad_images. |
|
Operation wrapping keras.ops.image.perspective_transform. |
|
Operation wrapping keras.ops.prod. |
|
Operation wrapping keras.ops.qr. |
|
Operation wrapping keras.ops.quantile. |
|
Operation wrapping keras.ops.ravel. |
|
Operation wrapping keras.ops.real. |
|
Operation wrapping keras.ops.reciprocal. |
|
Operation wrapping keras.ops.relu. |
|
Operation wrapping keras.ops.relu6. |
|
Operation wrapping keras.ops.repeat. |
|
Operation wrapping keras.ops.reshape. |
|
Operation wrapping keras.ops.image.resize. |
|
Operation wrapping keras.ops.rfft. |
|
Operation wrapping keras.ops.image.rgb_to_grayscale. |
|
Operation wrapping keras.ops.image.rgb_to_hsv. |
|
Operation wrapping keras.ops.right_shift. |
|
Operation wrapping keras.ops.rms_normalization. |
|
Operation wrapping keras.ops.roll. |
|
Operation wrapping keras.ops.round. |
|
Operation wrapping keras.ops.rsqrt. |
|
Operation wrapping keras.ops.saturate_cast. |
|
Operation wrapping keras.ops.image.scale_and_translate. |
|
Operation wrapping keras.ops.selu. |
|
Operation wrapping keras.ops.shape. |
|
Operation wrapping keras.ops.sigmoid. |
|
Operation wrapping keras.ops.sign. |
|
Operation wrapping keras.ops.signbit. |
|
Operation wrapping keras.ops.silu. |
|
Operation wrapping keras.ops.sin. |
|
Operation wrapping keras.ops.sinh. |
|
Operation wrapping keras.ops.size. |
|
Operation wrapping keras.ops.slogdet. |
|
Operation wrapping keras.ops.soft_shrink. |
|
Operation wrapping keras.ops.softmax. |
|
Operation wrapping keras.ops.softplus. |
|
Operation wrapping keras.ops.softsign. |
|
Operation wrapping keras.ops.sort. |
|
Operation wrapping keras.ops.sparse_plus. |
|
Operation wrapping keras.ops.sparse_sigmoid. |
|
Operation wrapping keras.ops.sparsemax. |
|
Operation wrapping keras.ops.split. |
|
Operation wrapping keras.ops.sqrt. |
|
Operation wrapping keras.ops.square. |
|
Operation wrapping keras.ops.squareplus. |
|
Operation wrapping keras.ops.squeeze. |
|
Operation wrapping keras.ops.stack. |
|
Operation wrapping keras.ops.std. |
|
Operation wrapping keras.ops.stft. |
|
Operation wrapping keras.ops.sum. |
|
Operation wrapping keras.ops.svd. |
|
Operation wrapping keras.ops.swapaxes. |
|
Operation wrapping keras.ops.swish. |
|
Operation wrapping keras.ops.take. |
|
Operation wrapping keras.ops.take_along_axis. |
|
Operation wrapping keras.ops.tan. |
|
Operation wrapping keras.ops.tanh. |
|
Operation wrapping keras.ops.tanh_shrink. |
|
Operation wrapping keras.ops.threshold. |
|
Operation wrapping keras.ops.tile. |
|
Operation wrapping keras.ops.top_k. |
|
Operation wrapping keras.ops.trace. |
|
Operation wrapping keras.ops.transpose. |
|
Operation wrapping keras.ops.tril. |
|
Operation wrapping keras.ops.triu. |
|
Operation wrapping keras.ops.trunc. |
|
Operation wrapping keras.ops.unfold. |
|
Operation wrapping keras.ops.unstack. |
|
Operation wrapping keras.ops.var. |
|
Operation wrapping keras.ops.view. |
|
Operation wrapping keras.ops.view_as_complex. |
|
Operation wrapping keras.ops.view_as_real. |
|
Operation wrapping keras.ops.zeros_like. |
Exceptions
|
- class zea.ops.keras_ops.Abs(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.abs.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Absolute(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.absolute.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.AffineTransform(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.affine_transform.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.All(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.all.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Amax(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.amax.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Amin(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.amin.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Angle(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.angle.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Any(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.any.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arccos(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arccos.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arccosh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arccosh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arcsin(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arcsin.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arcsinh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arcsinh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arctan(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arctan.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Arctanh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.arctanh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Argmax(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.argmax.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Argmin(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.argmin.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Argpartition(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.argpartition.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Argsort(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.argsort.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Array(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.array.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Average(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.average.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Bartlett(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bartlett.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BatchNormalization(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.batch_normalization.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Bincount(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bincount.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseAnd(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_and.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseInvert(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_invert.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseLeftShift(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_left_shift.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseNot(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_not.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseOr(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_or.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseRightShift(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_right_shift.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BitwiseXor(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.bitwise_xor.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Blackman(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.blackman.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.BroadcastTo(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.broadcast_to.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cast(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cast.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cbrt(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cbrt.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Ceil(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.ceil.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Celu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.celu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cholesky(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cholesky.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.CholeskyInverse(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cholesky_inverse.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Clip(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.clip.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Conj(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.conj.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Conjugate(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.conjugate.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ConvertToNumpy(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.convert_to_numpy.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ConvertToTensor(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.convert_to_tensor.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Copy(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.copy.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Corrcoef(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.corrcoef.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cos(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cos.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cosh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cosh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.CountNonzero(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.count_nonzero.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.CropImages(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.crop_images.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cumprod(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cumprod.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Cumsum(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.cumsum.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Deg2rad(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.deg2rad.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Det(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.det.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Diag(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.diag.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Diagflat(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.diagflat.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Diagonal(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.diagonal.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Digitize(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.digitize.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Dtype(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.dtype.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Eig(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.eig.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Eigh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.eigh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ElasticTransform(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.elastic_transform.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Elu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.elu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Erf(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.erf.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Erfinv(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.erfinv.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Exp(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.exp.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Exp2(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.exp2.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ExpandDims(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.expand_dims.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Expm1(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.expm1.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ExtractPatches(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.extract_patches.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ExtractSequences(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.extract_sequences.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Fft(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.fft.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Fft2(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.fft2.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Flip(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.flip.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Floor(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.floor.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.FullLike(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.full_like.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.GaussianBlur(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.gaussian_blur.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Gelu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.gelu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.GetItem(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.get_item.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Glu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.glu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Hamming(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hamming.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Hanning(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hanning.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HardShrink(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hard_shrink.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HardSigmoid(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hard_sigmoid.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HardSilu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hard_silu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HardSwish(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hard_swish.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HardTanh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.hard_tanh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Histogram(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.histogram.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.HsvToRgb(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.hsv_to_rgb.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Ifft2(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.ifft2.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Imag(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.imag.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Inv(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.inv.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Irfft(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.irfft.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.IsTensor(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.is_tensor.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isfinite(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isfinite.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isinf(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isinf.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isnan(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isnan.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isneginf(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isneginf.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isposinf(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isposinf.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Isreal(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.isreal.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Istft(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.istft.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Kaiser(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.kaiser.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LayerNormalization(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.layer_normalization.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LeakyRelu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.leaky_relu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LeftShift(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.left_shift.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Log(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Log10(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log10.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Log1p(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log1p.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Log2(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log2.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LogSigmoid(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log_sigmoid.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LogSoftmax(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.log_softmax.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Logdet(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.logdet.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LogicalNot(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.logical_not.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Logsumexp(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.logsumexp.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.LuFactor(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.lu_factor.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Max(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.max.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Mean(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.mean.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Median(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.median.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Meshgrid(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.meshgrid.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Min(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.min.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Moments(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.moments.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Moveaxis(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.moveaxis.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.NanToNum(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.nan_to_num.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Ndim(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.ndim.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Negative(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.negative.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Nonzero(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.nonzero.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Norm(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.norm.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Normalize(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.normalize.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.OneHot(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.one_hot.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.OnesLike(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.ones_like.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Pad(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.pad.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.PadImages(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.pad_images.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.PerspectiveTransform(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.perspective_transform.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Prod(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.prod.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Qr(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.qr.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Quantile(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.quantile.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Ravel(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.ravel.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Real(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.real.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Reciprocal(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.reciprocal.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Relu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.relu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Relu6(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.relu6.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Repeat(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.repeat.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Reshape(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.reshape.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Resize(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.resize.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Rfft(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.rfft.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.RgbToGrayscale(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.rgb_to_grayscale.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.RgbToHsv(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.rgb_to_hsv.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.RightShift(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.right_shift.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.RmsNormalization(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.rms_normalization.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Roll(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.roll.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Round(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.round.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Rsqrt(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.rsqrt.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.SaturateCast(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.saturate_cast.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ScaleAndTranslate(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.image.scale_and_translate.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Selu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.selu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Shape(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.shape.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sigmoid(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sigmoid.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sign(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sign.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Signbit(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.signbit.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Silu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.silu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sin(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sin.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sinh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sinh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Size(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.size.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Slogdet(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.slogdet.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.SoftShrink(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.soft_shrink.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Softmax(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.softmax.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Softplus(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.softplus.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Softsign(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.softsign.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sort(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sort.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.SparsePlus(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sparse_plus.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.SparseSigmoid(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sparse_sigmoid.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sparsemax(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sparsemax.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Split(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.split.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sqrt(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sqrt.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Square(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.square.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Squareplus(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.squareplus.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Squeeze(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.squeeze.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Stack(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.stack.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Std(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.std.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Stft(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.stft.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Sum(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.sum.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Svd(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.svd.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Swapaxes(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.swapaxes.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Swish(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.swish.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Take(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.take.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.TakeAlongAxis(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.take_along_axis.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Tan(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.tan.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Tanh(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.tanh.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.TanhShrink(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.tanh_shrink.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Threshold(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.threshold.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Tile(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.tile.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.TopK(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.top_k.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Trace(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.trace.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Transpose(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.transpose.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Tril(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.tril.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Triu(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.triu.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Trunc(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.trunc.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Unfold(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.unfold.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Unstack(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.unstack.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.Var(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.var.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.View(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.view.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ViewAsComplex(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.view_as_complex.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ViewAsReal(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.view_as_real.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.
- class zea.ops.keras_ops.ZerosLike(*args, **kwargs)[source]¶
Bases:
LambdaOperation wrapping keras.ops.zeros_like.
- Parameters:
input_data_type (DataTypes) – The data type of the input data
output_data_type (DataTypes) – The data type of the output data
key – The key for the input data (operation will operate on this key) Defaults to “data”.
output_key – The key for the output data (operation will output to this key) Defaults to the same as the input key. If you want to store intermediate results, you can set this to a different key. But make sure to update the input key of the next operation to match the output key of this operation.
cache_inputs – A list of input keys to cache or True to cache all inputs
cache_outputs – A list of output keys to cache or True to cache all outputs
jit_compile – Whether to JIT compile the ‘call’ method for faster execution
with_batch_dim – Whether operations should expect a batch dimension in the input
jit_kwargs – Additional keyword arguments for the JIT compiler
jittable – Whether the operation can be JIT compiled
additional_output_keys – A list of additional output keys produced by the operation. These are used to track if all keys are available for downstream operations. If the operation has a conditional output, it is best to add all possible output keys here.