fold_batch_norms.py | 76 scope, sep, _ = match.layer_op.name.rpartition('/') 103 if match.layer_op.type == 'DepthwiseConv2dNative': 123 match.layer_op, match.input_tensor, scaled_weight_tensor, 222 layer_op: Matching conv/fc op prior to batch norm 231 layer_op = match_result.get_op(layer_pattern) 243 if layer_op.type == 'MatMul': 306 return layer_op, _BatchNormMatch( 307 layer_op=layer_op, 328 layer_op, layer_match = _GetLayerMatch(match_result 1023 def layer_op(self): member in class:_BatchNormMatch [all...] |