Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Field (0.41 sec)

  1. tensorflow/c/c_api.cc

          metadata.is_list = 1;
          metadata.list_size = 0;
          metadata.total_size = -1;
    #define LIST_CASE(field, attr_type, ...)              \
      if (attr->list().field##_size() > 0) {              \
        metadata.type = attr_type;                        \
        metadata.list_size = attr->list().field##_size(); \
        __VA_ARGS__;                                      \
        break;                                            \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler_test.cc

      };
    
      tensorflow::Status status = InitGraphPlugin(plugin_init);
      ASSERT_EQ(status.code(), tensorflow::error::FAILED_PRECONDITION);
      ASSERT_EQ(
          status.message(),
          "'device_type' field in TP_OptimizerRegistrationParams must be set.");
    }
    
    TEST(Grappler, OptimizeFuncNotSet) {
      auto plugin_init = [](TP_OptimizerRegistrationParams* const params,
                            TF_Status* const status) -> void {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.cc

        if (STRUCT_OBJ.struct_size == 0) {                                 \
          return absl::Status(absl::StatusCode::kFailedPrecondition,       \
                              "struct_size field in " #STRUCT_NAME         \
                              " must be set to " #SIZE_VALUE_NAME ".");    \
        }                                                                  \
      } while (0)
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

                                                 fetcher);
      std::vector<char> out;
      // Read the second block; this should yield an OK status and a single byte.
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, block_size, &out));
      EXPECT_EQ(out.size(), 1);
      // Now read the first block; this should yield an INTERNAL error because we
      // had already cached a partial block at a later position.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top