Пример #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)