Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LinearOp (0.07 sec)

  1. tensorflow/cc/framework/scope_test.cc

      Scope root = Scope::NewRootScope();
      const auto names1 = LinearOp(root);
    
      EXPECT_EQ(names1[0], "linear/mul");
      EXPECT_EQ(names1[1], "linear/bias_add");
      EXPECT_EQ(names1[2], "linear/c1");
      EXPECT_EQ(names1[3], "linear/mul_1");
      EXPECT_EQ(names1[4], "linear");
    
      EXPECT_EQ(root.GetUniqueNameForOp("linear"), "linear_1");
    
      const auto names2 = LinearOp(root);
    
      EXPECT_EQ(names2[0], "linear_2/mul");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top