OperationMetadata
data class OperationMetadata(val name: String, val type: String, val description: String, val inputSpecs: List<ParameterSpec>, val outputSpecs: List<ParameterSpec>, val parameterSpecs: List<ParameterSpec>, val supportsGradients: Boolean = false, val additionalMetadata: Map<String, Any> = emptyMap())(source)
Metadata about an operation type
Constructors
Link copied to clipboard
constructor(name: String, type: String, description: String, inputSpecs: List<ParameterSpec>, outputSpecs: List<ParameterSpec>, parameterSpecs: List<ParameterSpec>, supportsGradients: Boolean = false, additionalMetadata: Map<String, Any> = emptyMap())
Properties
Link copied to clipboard
Additional metadata
Link copied to clipboard
Description of what this operation does
Link copied to clipboard
Expected input specifications
Link copied to clipboard
Expected output specifications
Link copied to clipboard
Parameter specifications
Link copied to clipboard
Whether this operation supports gradients