Skip to content

Commit

Permalink
added typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Kopcinski authored and Mateusz Kopcinski committed Aug 20, 2024
1 parent 2b9c03a commit 4e92631
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ex_vision/style_transfer/style_transfer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ for {module, opts} <- Configuration.configuration() do
#{module} is a custom style transfer model optimised for devices with low computational capabilities and CPU inference.
"""
require Logger

@typedoc """
A type consisting of output tesnor (stylized image tensor) from style transfer models of shape {#{Enum.join(Tuple.to_list(opts[:resolution]) ++ [3], ", ")}}.
"""
@type output_t() :: Nx.Tensor.t()

use ExVision.Model.Definition.Ortex, model: unquote(opts[:model])
Expand Down

0 comments on commit 4e92631

Please sign in to comment.