Lines Matching defs:self

105     def __init__(self,  argument
221 def save_multiple_dim_array_in_txt(self, file, data): argument
225 def load_multiple_dim_array_from_txt(self, file): argument
231 def convert_tensor_np(self, tensor_in, converter, *qminmax): argument
242 def convert_tensor(self, tensor_in, converter, *qminmax): argument
260 … def get_randomized_data(self, dims, npfile, regenerate, decimals=0, minrange=None, maxrange=None): argument
283 def get_randomized_input_data(self, input_data, input_shape=None): argument
295 def get_randomized_bias_data(self, biases): argument
309 def format_output_file(self, file): argument
320 def write_c_header_wrapper(self): argument
331 def write_common_config(self, f, prefix): argument
344 def write_c_common_header(self, f): argument
348 def write_c_config_header(self, write_common_parameters=True) -> None: argument
372 def get_data_file_name_info(self, name_prefix) -> (str, str): argument
377 def generate_c_array(self, name, array, datatype="int8_t", const="const ") -> None: argument
409 def set_output_dims_and_padding(self, output_x, output_y): argument
428 def generate_data(self, input_data=None, weights=None, biases=None) -> None: argument
431 def quantize_scale(self, scale): argument
436 def get_calib_data_func(self, n_inputs, shape): argument
450 …def convert_and_interpret(self, model, inttype, input_data=None, dataset_shape=None) -> Interprete… argument
500 def generate_json_from_template(self, argument
536 def flatc_generate_tflite(self, json_input, schema): argument
550 def to_bytes(self, tensor_data, type_size) -> bytes: argument
571 def __init__(self, argument
634 def write_c_config_header(self) -> None: argument
650 def generate_quantize_per_channel_multiplier(self): argument
667 def generate_data(self, input_data=None, weights=None, biases=None) -> None: argument
753 def __init__(self, argument
799 def generate_data(self, input_data=None) -> None: argument
846 def write_c_config_header(self) -> None: argument
859 def __init__(self, argument
909 def write_c_config_header(self) -> None: argument
923 def quantize_multiplier(self): argument
930 def generate_data(self, input_data=None, weights=None, biases=None) -> None: argument
1011 def __init__(self, argument
1061 def calc_softmax_params(self): argument
1074 def write_c_config_header(self) -> None: argument
1090 def get_softmax_randomized_input_data(self, input_data, input_shape): argument
1100 def generate_data(self, input_data=None, weights=None, biases=None) -> None: argument
1152 def __init__(self, argument
1242 …def calc_multipliers_and_shifts(self, input_scale, weights_1_scale, weights_2_scale, state_scale, … argument
1248 def write_c_config_header(self) -> None: argument
1273 …def generate_data(self, input_data=None, weights=None, biases=None, time_data=None, state_data=Non… argument
1366 def get_scale_and_zp(self, layer): argument
1372 def __init__(self, argument
1418 def generate_data(self, input_data1=None, input_data2=None) -> None: argument
1483 def write_c_config_header(self) -> None: argument
1510 def __init__(self, argument
1579 … def generate_data(self, input_data=None, weights=None, hidden_weights=None, biases=None) -> None: argument
1785 def calc_scales(self, input_scale, output_state_scale): argument
1813 …def calc_effective_bias(self, interpreter, zero_point, weight_tensor, bias_tensor, has_bias=True) … argument
1834 def write_c_config_header(self) -> None: argument