Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetFunctionDef (0.11 sec)

  1. tensorflow/c/c_api_function_test.cc

      string s1, s2;
      tensorflow::FunctionDef fdef1, fdef2;
      ASSERT_TRUE(GetFunctionDef(f1, &fdef1));
      ASSERT_TRUE(GetFunctionDef(f2, &fdef2));
      SerializeToStringDeterministic(fdef1, &s1);
      SerializeToStringDeterministic(fdef2, &s2);
      ASSERT_EQ(s1, s2);
    }
    
    string GetName(TF_Function* func) {
      tensorflow::FunctionDef fdef;
      GetFunctionDef(func, &fdef);
      return fdef.signature().name();
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top