Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_attr_name (0.2 sec)

  1. tensorflow/c/c_api_function_test.cc

      string bytes;
      attr.SerializeToString(&bytes);
      TF_FunctionSetAttrValueProto(func_, "test_attr_name", bytes.data(),
                                   bytes.size(), s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
      ASSERT_EQ(attr.DebugString(), read_attr.DebugString());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top