Last active
July 2, 2018 05:11
-
-
Save reyoung/a302264c77ec4f1450b23a4ad72505ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cp_softlink | |
set realpath (readlink $argv[1]) | |
rm $argv[1] | |
cp $realpath $argv[1] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fix_softlink | |
set realname (basename (readlink $argv[1])) | |
rm $argv[1] | |
ln -s (find ../../../ -name $realname) $argv[1] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for line in (cat replaces) | |
set origin (echo $line | cut -f 1 -d ' ') | |
set replace (echo $line | cut -f 2 -d ' ') | |
sed -i "s#:ref:`$origin`#:code:`$replace`#g" (find . -name '*.rst' -type f) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api_fluid_default_main_program fluid.default_main_program() | |
api_fluid_default_startup_program fluid.default_startup_program() | |
api_fluid_Executor fluid.Executor() | |
api_fluid_global_scope fluid.global_scope() | |
api_fluid_io_save_checkpoint fluid.io.save_checkpiont() | |
api_fluid_io_save_params fluid.io.save_params() | |
api_fluid_layers fluid.layers | |
api_fluid_layers_batch fluid.layers.batch() | |
api_fluid_layers_data fluid.layers.data() | |
api_fluid_layers_double_buffer fluid.layers.double_buffer() | |
api_fluid_layers_open_files fluid.layers.open_files() | |
api_fluid_layers_Preprocessor fluid.layers.Preprocessor | |
api_fluid_layers_read_file fluid.layers.read_file | |
api_fluid_layers_shuffle fluid.layers.shuffle() | |
api_fluid_optimizer fluid.optimizer() | |
api_fluid_ParallelExecutor fluid.ParallelExecutor | |
api_fluid_Program fluid.Program | |
api_fluid_recordio_writer_convert_reader_to_recordio_file fluid.recordio_writer.convert_reader_to_recordio_file() | |
api_fluid_recordio_writer_convert_reader_to_recordio_files fluid.recordio_writer.convert_reader_to_recordio_files() | |
api_fluid_Variable fluid.Variable() | |
api_guide_executor fluid.Executor | |
api_guide_lod_tensor fluid.LoDTensor | |
api_guide_parallel_executor fluid.ParallelExecutor | |
api_guide_reader fluid.layers.reader | |
api_guide_recordio_file_format fluid.recordio_writer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment