Load a scala object from a local/hdfs/s3 path.
Load a scala object from a local/hdfs/s3 path.
Notice: S3 path should be like s3a://bucket/xxx.
See (hadoop aws)[http://hadoop.apache.org/docs/r2.7.3/hadoop-aws/tools/hadoop-aws/index.html] for details, if you want to load model from s3.
file name.
Load file from HDFS
Load file from HDFS
Load torch object from a torch binary file
Load torch object from a torch binary file
file name.
An instance of T
load binary file from HDFS
load binary file from HDFS
Save scala object into a local/hdfs/s3 path
Save scala object into a local/hdfs/s3 path
Notice: S3 path should be like s3a://bucket/xxx.
See (hadoop aws)[http://hadoop.apache.org/docs/r2.7.3/hadoop-aws/tools/hadoop-aws/index.html] for details, if you want to save model to s3.
object to be saved.
local/hdfs output path.
if overwrite.
Write file to HDFS.
Write file to HDFS.
Save scala object into a torch binary file
Save scala object into a torch binary file
The object to be saved.
file name to saving.
The object type.
If over write.