Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for specialized (0.17 sec)

  1. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      const char task0_name[] = "/job:localhost/replica:0/task:0/device:CPU:0";
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_ContextSetServerDefWithTimeout(ctx, 0, serialized_server_def.data(),
                                         serialized_server_def.size(),
                                         init_timeout_in_ms, status,
                                         /*clear_existing_contexts=*/false);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api.cc

      }
      return nullptr;
    }
    
    void TFE_ContextAddFunctionDef(TFE_Context* ctx,
                                   const char* serialized_function_def, size_t size,
                                   TF_Status* status) {
      tensorflow::FunctionDef function_def;
      if (!function_def.ParseFromArray(serialized_function_def, size)) {
        status->status =
            tensorflow::errors::InvalidArgument("Invalid FunctionDef proto");
        return;
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. tensorflow/c/c_api_test.cc

      TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def));
      string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      string actual_string(reinterpret_cast<const char*>(buffer->data),
                           buffer->length);
      EXPECT_EQ(expected_serialized, actual_string);
    
      TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
    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