View Source Evision.DNN.DictValue (Evision v0.2.9)
Summary
Functions
Variant 1:
DictValue
getIntValue
getIntValue
getRealValue
getRealValue
getStringValue
getStringValue
isInt
isReal
isString
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
- s:
String
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
getIntValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
integer()
.
Return
- retval:
integer()
Python prototype (for reference only):
getIntValue([, idx]) -> retval
@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
getRealValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
integer()
.
Return
- retval:
double
Python prototype (for reference only):
getRealValue([, idx]) -> retval
@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
- retval:
String
Python prototype (for reference only):
getStringValue([, idx]) -> retval
getStringValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
integer()
.
Return
- retval:
String
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