Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attn (0.17 sec)

  1. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void GetAttr(const char* attr_name, AttrValue* out_attr) {
        TF_Buffer* attr_buf = TF_NewBuffer();
        TF_FunctionGetAttrValueProto(func_, attr_name, attr_buf, s_);
        ASSERT_TRUE(out_attr->ParseFromArray(attr_buf->data, attr_buf->length));
        TF_DeleteBuffer(attr_buf);
      }
    
      const char* func_name_ = "MyFunc";
      const char* func_node_name_ = "MyFunc_0";
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/eager/c_api_test.cc

      tensorflow::AttrValueMap attr_values = ExtractAttrs(minOp);
      tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T");
      EXPECT_NE(attr_found, attr_values.cend());
      EXPECT_EQ(attr_found->second.type(), tensorflow::DataType::DT_FLOAT);
      attr_found = attr_values.find("Tidx");
      EXPECT_NE(attr_found, attr_values.cend());
      EXPECT_EQ(attr_found->second.type(), tensorflow::DataType::DT_INT32);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

    ATTR_TEST_REGISTER_OP(string);
    ATTR_TEST_REGISTER_OP(int);
    ATTR_TEST_REGISTER_OP(float);
    ATTR_TEST_REGISTER_OP(bool);
    ATTR_TEST_REGISTER_OP(type);
    ATTR_TEST_REGISTER_OP(shape);
    ATTR_TEST_REGISTER_OP(tensor);
    #undef ATTR_TEST_REGISTER_OP
    
    class CApiAttributesTest : public ::testing::Test {
     protected:
      CApiAttributesTest()
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top