Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Post (0.12 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* on_host =
            TFE_TensorHandleCopyToDevice(copy_aliased, ctx, "CPU:0", status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TF_Tensor* resolved = TFE_TensorHandleResolve(on_host, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        const float* resolved_data =
    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/eager/c_api.h

    // Returns the number of elements in dimension `dim_index`.
    // Tensor representation on device can be transposed from its representation
    // on host. The data contained in dimension `dim_index` on device
    // can correspond to the data contained in another dimension in on-host
    // representation. The dimensions are indexed using the standard TensorFlow
    // major-to-minor order (slowest varying dimension first),
    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. CONTRIBUTING.md

    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    *   Keep API compatibility in mind when you change code in core TensorFlow,
        e.g., code in
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

      TF_TriState constant_folding;
      TF_TriState shape_optimization;
      TF_TriState auto_mixed_precision;
      TF_TriState auto_mixed_precision_onednn_bfloat16;
      TF_TriState auto_mixed_precision_mkl;
      TF_TriState pin_to_host_optimization;
      TF_TriState layout_optimizer;
      TF_TriState remapping;
      TF_TriState loop_optimization;
      TF_TriState dependency_optimization;
      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
    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)
  5. tensorflow/c/eager/c_api_experimental.h

        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
                                                    TF_Buffer* buf);
    
    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)
  6. tensorflow/c/experimental/grappler/grappler.cc

      CONFIG_TOGGLE(shape_optimization);
      CONFIG_TOGGLE(auto_mixed_precision);
      CONFIG_TOGGLE(auto_mixed_precision_onednn_bfloat16);
      CONFIG_TOGGLE(auto_mixed_precision_mkl);
      CONFIG_TOGGLE(pin_to_host_optimization);
      CONFIG_TOGGLE(layout_optimizer);
      CONFIG_TOGGLE(remapping);
      CONFIG_TOGGLE(loop_optimization);
      CONFIG_TOGGLE(dependency_optimization);
      CONFIG_TOGGLE(auto_parallel);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  7. tensorflow/c/eager/immediate_execution_context.h

      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
    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)
  8. tensorflow/c/eager/c_api_test_util.cc

    }
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index,
                                const string& host, int port) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat(host, ":", port);
    }
    
    std::vector<std::string> ListDeviceNames(TFE_Context* ctx) {
      TF_Status* status = TF_NewStatus();
    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)
  9. tensorflow/c/eager/c_api_experimental.cc

      (*sess_options.config.mutable_device_count())["CPU"] = num_cpus;
      status->status =
          tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices);
    
      // Remove the device that has the host device name since host device is alreay
      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      // with the corresponding name prefix or if there is exactly one matching
      // object and it is the directory marker. Therefore we need to retrieve
      // at most two children for the prefix to detect if a directory is empty.
      auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem);
      auto childrens = GetChildrenBounded(gcs_file, path, 2, true, true, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top