Esempio n. 1
0
 def testGetAttrList(self):
     typ = backprop.op_attr_type('MaxPool', 'ksize')
     self.assertEqual(typ, [pywrap_tensorflow.TF_ATTR_INT])
Esempio n. 2
0
 def testGetAttrList(self):
   typ = backprop.op_attr_type('MaxPool', 'ksize')
   self.assertEqual(typ, [pywrap_tensorflow.TF_ATTR_INT])
Esempio n. 3
0
 def testGetAttrType(self):
     typ = backprop.op_attr_type('Add', 'T')
     self.assertEqual(typ, pywrap_tensorflow.TF_ATTR_TYPE)
Esempio n. 4
0
 def testGetAttrType(self):
   typ = backprop.op_attr_type('Add', 'T')
   self.assertEqual(typ, pywrap_tensorflow.TF_ATTR_TYPE)