예제 #1
0
 def log_tensor_shape(self, x, name, prefix='comb_'):
     self.ts.append((U.string2tf(prefix + name), tf.shape(x)))
예제 #2
0
 def log_tensor_shape(self, x, name):
     self.ts.append((U.string2tf(name), tf.shape(x)))
예제 #3
0
 def log_tensor(self, x, name, prefix='comb_'):
     self.t.append((U.string2tf(prefix + name), x))
     self.log_tensor_shape(x, name)
예제 #4
0
 def log_tensor(self, x, name):
     self.t.append((U.string2tf(name), x))
     self.log_tensor_shape(x, name)