View Source Evision.DNN.DictValue (Evision v0.1.33)
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(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:
int
Return
- self:
Evision.DNN.DictValue.t()
Python prototype (for reference only):
DictValue(i) -> <dnn_DictValue object>
getIntValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
int
Python prototype (for reference only):
getIntValue([, idx]) -> retval
getIntValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
int
Python prototype (for reference only):
getIntValue([, idx]) -> retval
getRealValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
double
Python prototype (for reference only):
getRealValue([, idx]) -> retval
getRealValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
double
Python prototype (for reference only):
getRealValue([, idx]) -> retval
getStringValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
String
Python prototype (for reference only):
getStringValue([, idx]) -> retval
getStringValue
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Keyword Arguments
- idx:
int
.
Return
- retval:
String
Python prototype (for reference only):
getStringValue([, idx]) -> retval
isInt
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Return
- retval:
bool
Python prototype (for reference only):
isInt() -> retval
isReal
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Return
- retval:
bool
Python prototype (for reference only):
isReal() -> retval
isString
Positional Arguments
- self:
Evision.DNN.DictValue.t()
Return
- retval:
bool
Python prototype (for reference only):
isString() -> retval