def log_tensor_shape(self, x, name, prefix='comb_'): self.ts.append((U.string2tf(prefix + name), tf.shape(x)))
def log_tensor_shape(self, x, name): self.ts.append((U.string2tf(name), tf.shape(x)))
def log_tensor(self, x, name, prefix='comb_'): self.t.append((U.string2tf(prefix + name), x)) self.log_tensor_shape(x, name)
def log_tensor(self, x, name): self.t.append((U.string2tf(name), x)) self.log_tensor_shape(x, name)