Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for newApi (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *
     *   protected void runOneIteration() throws Exception {
     *     Uri uri = toCrawl.remove();
     *     Collection<Uri> newUris = crawl(uri);
     *     visited.add(uri);
     *     for (Uri newUri : newUris) {
     *       if (!visited.contains(newUri)) { toCrawl.add(newUri); }
     *     }
     *   }
     *
     *   protected void shutDown() throws Exception {
     *     saveUris(toCrawl);
     *   }
     *
     *   protected Scheduler scheduler() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

    // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since
    //     the additional sanity checks there seem unnecessary;
    typedef struct TFE_Op TFE_Op;
    
    TF_CAPI_EXPORT extern TFE_Op* TFE_NewOp(TFE_Context* ctx,
                                            const char* op_or_function_name,
                                            TF_Status* status);
    TF_CAPI_EXPORT extern void TFE_DeleteOp(TFE_Op* op);
    
    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)
  3. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_ContextAddFunctionDef(ctx, function_def.data(), function_def.size(),
                                status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TFE_Op* func = TFE_NewOp(ctx, "AddVariablesFunction", status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_OpAddInput(func, packed_handle, status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      if (remote) {
    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)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

            << TF_Message(status.get());
      }
    
      {
        // Try to pass a non-parallel tensor to TPUReplicatedOutput
        std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
            TFE_NewOp(context.get(), "TPUReplicatedOutput", status.get()),
            TFE_DeleteOp);
        if (TF_GetCode(status.get()) != TF_OK) return;
        TFE_OpSetAttrInt(op.get(), "num_replicas", 1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_TensorHandle* h = TFE_NewTensorHandle(t, status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TF_DeleteTensor(t);
    
        TFE_Op* op = TFE_NewOp(ctx, "ident", status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TFE_OpAddInput(op, h, status);
        ASSERT_TRUE(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)
  6. docs/debugging/xl-meta/main.go

    	"github.com/klauspost/filepathx"
    	"github.com/klauspost/reedsolomon"
    	"github.com/minio/cli"
    	"github.com/minio/highwayhash"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func main() {
    	app := cli.NewApp()
    	app.Copyright = "MinIO, Inc."
    	app.Usage = "xl.meta to JSON"
    	app.HideVersion = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api.cc

        return 0;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return 0;
      }
      return tensor->TotalBytes();
    }
    
    TFE_Op* TFE_NewOp(TFE_Context* ctx, const char* op_or_function_name,
                      TF_Status* status) {
      tensorflow::ImmediateExecutionOperation* new_op =
          tensorflow::unwrap(ctx)->CreateOperation();
    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/parallel_device/parallel_device_lib.h

        // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing
        // device names repeatedly.
        std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op(
            TFE_NewOp(context, "Const", status), TFE_DeleteOp);
        if (TF_GetCode(status) != TF_OK) return nullptr;
        TFE_OpSetDevice(const_op.get(), underlying_devices_[device_index].c_str(),
                        status);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device.cc

        return result;
      } else if (operation_name == std::string("TPUReplicatedOutput")) {
        // Special-cased operation for un-packing one parallel tensor into
        // per-device tensors.
        OpPtr op(TFE_NewOp(context, operation_name, status));
        TFE_OpAddAttrs(op.get(), attributes);
        int expected_outputs = TFE_OpGetOutputLength(op.get(), "outputs", status);
        if (TF_GetCode(status) != TF_OK) return result;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                               std::vector<TensorHandlePtr>* outputs,
                               TF_Status* status) const {
      if (op_ == nullptr) {
        TFE_ContextSetExecutorForThread(context, executor_.get());
        op_.reset(TFE_NewOp(context, operation_name, status));
        if (TF_GetCode(status) != TF_OK) return;
        TFE_OpSetDevice(op_.get(), device_.c_str(), status);
        if (TF_GetCode(status) != TF_OK) return;
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
Back to top