Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Read (0.25 sec)

  1. tensorflow/c/c_api_function_test.cc

      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
      ASSERT_EQ(attr.DebugString(), read_attr.DebugString());
    
      // Retrieve the same attr after save/restore
      Reincarnate();
      AttrValue read_attr2;
      GetAttr("test_attr_name", &read_attr2);
      ASSERT_EQ(attr.DebugString(), read_attr2.DebugString());
    }
    
    TEST_F(CApiFunctionTest, Description) {
    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

        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
      // Read the variable using `ctx_1`. This read should succeed.
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
    
    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)
Back to top