ExTorch.Protocol.DefaultStruct protocol (extorch v0.2.0)

Copy Markdown

Summary

Types

t()

All the types that implement this protocol.

Functions

Given a struct filled with default values, return a struct with valid values.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

replace_defaults(struct_defaults)

Given a struct filled with default values, return a struct with valid values.