Searched refs:stringref (Results 1 – 6 of 6) sorted by relevance
55 HANDLE_TF_REF_TYPE(StringRef, STRING_REF, "stringref")
262 def TF_StrRef : TF_TensorFlowType<"StringRef", "stringref">;
1390 auto stringref = pystring.get().AsUTF8(); in Read() local1391 if (!stringref) in Read()1392 return Status(stringref.takeError()); in Read()1393 num_bytes = stringref.get().size(); in Read()1394 memcpy(buf, stringref.get().begin(), num_bytes); in Read()
1218 String.tests.cpp:<line number>: passed: stdStr == "a stringref" for: "a stringref" == "a stringref"1220 String.tests.cpp:<line number>: passed: stdStr == "a stringref" for: "a stringref" == "a stringref"
8926 REQUIRE( stdStr == "a stringref" )8928 "a stringref" == "a stringref"8944 REQUIRE( stdStr == "a stringref" )8946 "a stringref" == "a stringref"
35 func @testIdentity(%arg0: tensor<4x2x!tf.stringref>) -> tensor<4x2x!tf.string> {36 %0 = "tf.Identity"(%arg0) : (tensor<4x2x!tf.stringref>) -> tensor<4x2x!tf.string>58 func @testIdentityWrongType(%arg0: tensor<4x2x!tf.string>) -> tensor<4x2x!tf.stringref> {60 %0 = "tf.Identity"(%arg0) : (tensor<4x2x!tf.string>) -> tensor<4x2x!tf.stringref>61 return %0 : tensor<4x2x!tf.stringref>