Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for specialized (0.2 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      client_job->mutable_tasks()->insert(
          {0, strings::StrCat("localhost:", client_port)});
      server_def.set_job_name("localhost");
      auto serialized = server_def.SerializeAsString();
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/grappler/grappler.h

    // Get a list of input OpInfo::TensorProperties given node name.
    // Return the serialized list `properties`.
    TF_CAPI_EXPORT extern void TF_GetInputPropertiesList(
        TF_GraphProperties* graph_properties, const char* name,
        TF_Buffer** properties, int num_values, TF_Status* status);
    
    // Get a list of output OpInfo::TensorProperties given node name.
    // Return the serialized list `properties`.
    TF_CAPI_EXPORT extern void TF_GetOutputPropertiesList(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

                                           int* num_retvals, TF_Status* status);
    
    // Add a function (serialized FunctionDef protocol buffer) to ctx so
    // that it can be invoked using TFE_Execute.
    TF_CAPI_EXPORT extern void TFE_ContextAddFunctionDef(
        TFE_Context* ctx, const char* serialized_function_def, size_t size,
        TF_Status* status);
    
    // Adds a function (created from TF_GraphToFunction or
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs,
                                                    TF_Buffer* buf,
                                                    TF_Status* status);
    
    // Set an op's attribute from a serialized AttrValue protocol buffer.
    //
    // Analogous to TF_SetAttrValueProto for building graph operations.
    TF_CAPI_EXPORT extern void TFE_OpSetAttrValueProto(const TFE_Op* op,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/c/eager/immediate_execution_context.h

      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
      virtual Status AsyncWait() = 0;
    
      // Add a function (serialized FunctionDef protocol buffer) so that it can
      // be executed as an op. Return error if the function with the same name
      // already exists.
      virtual Status AddFunctionDef(const FunctionDef& fdef) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/c/eager/c_api_cluster_test.cc

      // new worker (different incarnation ID).
      server_def.set_task_index(0);
      string serialized_update = server_def.SerializeAsString();
      TFE_ContextUpdateServerDef(ctx, 0, serialized_update.data(),
                                 serialized_update.size(), status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.h

    // Tensorflow's CPU implementation through constant folding.
    TF_CAPI_EXPORT unsigned char TF_GetXlaConstantFoldingDisabled();
    TF_CAPI_EXPORT void TF_SetXlaConstantFoldingDisabled(
        unsigned char should_enable);
    
    // Create a serialized tensorflow.ConfigProto proto, where:
    //
    // a) ConfigProto.optimizer_options.global_jit_level is set to ON_1 if
    // `enable_xla_compilation` is non-zero, and OFF otherwise.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. 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)
Back to top