cntk.contrib.crosstalkcaffe.utils.format module

The script contains some basic format ops

camel_to_snake(camel_string)[source]
Convert a string from camel style to snake style
Parameters:camel_string (str) – the camel style string
Returns:the snake style string
Return type:(str)
json_parser(path)[source]
Parse a json file into dict
Parameters:path – the path to json file
Returns:the parsed dict
Return type:(dict)