Searched refs:my_const (Results 1 – 3 of 3) sorted by relevance
7 static_assert(Wrapper<int>::my_const<float> == 1.f);8 static_assert(Wrapper<char>::my_const<const float *> == nullptr);9 static_assert(Wrapper<float>::my_const<const char *> == a);
9 template <typename U> static constexpr U my_const = U(1); member11 template <typename U> static constexpr U *my_const<const U *> = (U *)(0); member17 constexpr const char *Wrapper<float>::my_const<const char *> = a; member in Wrapper<float>
1818 my_const = constant_op.constant(42, name='my_const')1835 self.assertEqual(42, session.run(my_const))1859 my_const = constant_op.constant(42, name='my_const')1881 self.assertEqual(42, session.run(my_const, options=caller_options))