# `ExTorch.Utils.PrintOptions`

Tensor printing options.

# `t`

```elixir
@type t() :: %ExTorch.Utils.PrintOptions{
  edgeitems: integer(),
  linewidth: integer(),
  precision: integer(),
  sci_mode: boolean() | nil,
  threshold: float()
}
```

An ``ExTorch.Utils.PrintOptions`` is a struct that is used to set different
printing options to display an ``ExTorch.Tensor`` struct.

## Fields
- `precision`: Number of digits of precision for floating point output. Default: 4

- `threshold`: Total number of array elements which trigger summarization
  rather than full `repr`. Default: 1000.

- `edgeitems`: Number of array items in summary at beginning and end of
  each dimension. Default: 3.

- `linewidth`: The number of characters per line for the purpose of
  inserting line breaks (default = 80). Thresholded matrices will
  ignore this parameter.

- `sci_mode`: Enable (`true`) or disable (`false`) scientific notation. If
  `nil` (default) is specified, the value is defined by
  the formatter. This value is automatically chosen by the framework.

# `default`

```elixir
@spec default() :: t()
```

Retrieve the default print options.

# `full`

```elixir
@spec full() :: t()
```

Retrieve the full print options.

# `short`

```elixir
@spec short() :: t()
```

Retrieve the short print options.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
