onnxs v0.2.0 Onnx.AttributeProto

A named attribute containing either singular float, integer, string and tensor values, or repeated float, integer, string and tensor values. An AttributeProto MUST contain the name field, and only one of the following content fields, effectively enforcing a C/C++ union equivalent.

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Onnx.AttributeProto{
  doc_string: String.t(),
  f: float(),
  floats: [float()],
  g: Onnx.GraphProto.t(),
  graphs: [Onnx.GraphProto.t()],
  i: integer(),
  ints: [integer()],
  name: String.t(),
  s: String.t(),
  strings: [String.t()],
  t: Onnx.TensorProto.t(),
  tensors: [Onnx.TensorProto.t()],
  type: integer()
}

Link to this section Functions

Link to this function new(attrs \\ %{})