I am loading a tensorflow frozen graph and there are 4 Variables for a BatchNorm layer. The names are:
conv2_block1_0_bn/ReadVariableOp/resource
conv2_block1_0_bn/ReadVariableOp_1/resource
conv2_block1_0_bn/FusedBatchNormV3/ReadVariableOp/resource
conv2_block1_0_bn/FusedBatchNormV3/ReadVariableOp_1/resource
BatchNorm should have four types of weights: The additive constant, a multiplicative factor, the running mean, and the running variance. How can I associate the names above with the four variables?
By inspection of the weights I have a guess, but that can't be a valid approach. Tensorflow must store that information somewhere. I tried to grep myself through the tf codebase, but that didn't help.
I got the names from the graph, as describes in this stackoverflow question.