View Source Evision.DNN.DictValue (Evision v0.2.9)

Summary

Types

t()

Type that represents an DNN.DictValue struct.

Types

@type t() :: %Evision.DNN.DictValue{ref: reference()}

Type that represents an DNN.DictValue struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec dictValue(Keyword.t()) :: any() | {:error, String.t()}
@spec dictValue(binary()) :: t() | {:error, String.t()}
@spec dictValue(number()) :: t() | {:error, String.t()}
@spec dictValue(integer()) :: t() | {:error, String.t()}

Variant 1:

DictValue

Positional Arguments
Return
  • self: Evision.DNN.DictValue.t()

Python prototype (for reference only):

DictValue(s) -> <dnn_DictValue object>

Variant 2:

DictValue

Positional Arguments
  • p: double
Return
  • self: Evision.DNN.DictValue.t()

Python prototype (for reference only):

DictValue(p) -> <dnn_DictValue object>

Variant 3:

DictValue

Positional Arguments
  • i: integer()
Return
  • self: Evision.DNN.DictValue.t()

Python prototype (for reference only):

DictValue(i) -> <dnn_DictValue object>
@spec getIntValue(Keyword.t()) :: any() | {:error, String.t()}
@spec getIntValue(t()) :: integer() | {:error, String.t()}

getIntValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return
  • retval: integer()

Python prototype (for reference only):

getIntValue([, idx]) -> retval
@spec getIntValue(t(), [{:idx, term()}] | nil) :: integer() | {:error, String.t()}

getIntValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return
  • retval: integer()

Python prototype (for reference only):

getIntValue([, idx]) -> retval
Link to this function

getRealValue(named_args)

View Source
@spec getRealValue(Keyword.t()) :: any() | {:error, String.t()}
@spec getRealValue(t()) :: number() | {:error, String.t()}

getRealValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return
  • retval: double

Python prototype (for reference only):

getRealValue([, idx]) -> retval
Link to this function

getRealValue(self, opts)

View Source
@spec getRealValue(t(), [{:idx, term()}] | nil) :: number() | {:error, String.t()}

getRealValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return
  • retval: double

Python prototype (for reference only):

getRealValue([, idx]) -> retval
Link to this function

getStringValue(named_args)

View Source
@spec getStringValue(Keyword.t()) :: any() | {:error, String.t()}
@spec getStringValue(t()) :: binary() | {:error, String.t()}

getStringValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return

Python prototype (for reference only):

getStringValue([, idx]) -> retval
Link to this function

getStringValue(self, opts)

View Source
@spec getStringValue(t(), [{:idx, term()}] | nil) :: binary() | {:error, String.t()}

getStringValue

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Keyword Arguments
  • idx: integer().
Return

Python prototype (for reference only):

getStringValue([, idx]) -> retval
@spec isInt(Keyword.t()) :: any() | {:error, String.t()}
@spec isInt(t()) :: boolean() | {:error, String.t()}

isInt

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Return
  • retval: bool

Python prototype (for reference only):

isInt() -> retval
@spec isReal(Keyword.t()) :: any() | {:error, String.t()}
@spec isReal(t()) :: boolean() | {:error, String.t()}

isReal

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Return
  • retval: bool

Python prototype (for reference only):

isReal() -> retval
@spec isString(Keyword.t()) :: any() | {:error, String.t()}
@spec isString(t()) :: boolean() | {:error, String.t()}

isString

Positional Arguments
  • self: Evision.DNN.DictValue.t()
Return
  • retval: bool

Python prototype (for reference only):

isString() -> retval