niftynet.contrib.csv_reader.csv_reader module

class CSVReader(names=None)[source]

Bases: niftynet.layer.base_layer.Layer

initialise(path_to_csv)[source]
to_ohe(labels)[source]
layer_op(idx=None, shuffle=True)[source]
shapes

dict of label shape and label location shape

Type:return
tf_dtypes

Infer input data dtypes in TF

tf_shapes

a dictionary of sampler output tensor shapes

Type:return