public class WritableValueRetriever extends Object
Writable
this just perform basic conversion
between unknown objects and Writable
types.| Constructor and Description |
|---|
WritableValueRetriever() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getUnderlyingValue(org.datavec.api.writable.Writable writable)
Get the underlying value fro the given
Writable |
static org.datavec.api.writable.Writable |
writableFromValue(Object input)
Create a
Writable
from the given value
If an input type is invalid, an
IllegalArgumentException
will be thrown |
public static org.datavec.api.writable.Writable writableFromValue(Object input)
Writable
from the given value
If an input type is invalid, an
IllegalArgumentException
will be throwninput - the input objectpublic static Object getUnderlyingValue(org.datavec.api.writable.Writable writable)
Writablewritable - the writable to get the value forWritableCopyright © 2022. All rights reserved.