28e7817f3ec42a59054a772f80a5782812a02448,src/data/utils.py,,ensure_dir,#,26

Before Change

After Change


    :param dir_path: directory path
    :return: 
    
    path = dir_path if isinstance(dir_path, Path) else Path(dir_path)
    path.mkdir(parents=True, exist_ok=True)


def normalize(img):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: PavlosMelissinos/enet-keras
Commit Name: 28e7817f3ec42a59054a772f80a5782812a02448
Time: 2019-12-17
Author: PavlosMelissinos@users.noreply.github.com
File Name: src/data/utils.py
Class Name:
Method Name: ensure_dir


Project Name: ContextLab/hypertools
Commit Name: 1b60dad95da7ea73ef2d3eff52494b1619f6e9d0
Time: 2018-01-23
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/plot.py
Class Name:
Method Name: plot


Project Name: Alexander-H-Liu/End-to-end-ASR-Pytorch
Commit Name: 1b45e3a304f9d2479a836b82d889f0e19183faf6
Time: 2019-10-13
Author: windqaq@gmail.com
File Name: src/plugin.py
Class Name: EmbeddingRegularizer
Method Name: __init__