Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for note (0.16 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      if (ops_->get_children == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", dir, " does not support GetChildren()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dir);
      // Note that `children` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        block->lru_iterator = lru_list_.begin();
      }
    
      // Check for inconsistent state. If there is a block later in the same file
      // in the cache, and our current block is not block size, this likely means
      // we have inconsistent state within the cache. Note: it's possible some
      // incomplete reads may still go undetected.
      if (block->data.size() < block_size_) {
        Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    // in 'op' should not be mutated till the kernel execution actually finishes.
    //
    // For sync execution, if any of the inputs to `op` are not ready, this call
    // will block till they become ready and then return when the kernel execution
    // is done.
    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. CONTRIBUTING.md

        bazel test ${flags} //tensorflow/python/saved_model:load_test --test_filter=*LoadTest.test_capture_variables*
        ```
    
        **Note:** You can add `--test_sharding_strategy=disabled` to the `flags` to
        disable the sharding so that all the test outputs are in one file. However,
        it may slow down the tests for not running in parallel and may cause the
        test to timeout but it could be useful when you need to execute a single
    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)
  5. tensorflow/c/eager/c_api_experimental_test.cc

            static_cast<const float*>(TF_TensorData(resolved));
        EXPECT_EQ(0, memcmp(m_float, resolved_data, 4 * sizeof(float)));
        TF_DeleteTensor(resolved);
        TFE_DeleteTensorHandle(copy_aliased);  // Note that this will delete copy.
        TFE_DeleteTensorHandle(on_host);
      }
      TF_DeleteDeviceList(devices);
      TF_DeleteTensor(m_data);
      TFE_DeleteTensorHandle(m);
      TFE_DeleteContext(ctx);
      TF_DeleteStatus(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. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_DeleteAbstractOp(add_op);
    
      TF_AbstractFunction* func =
          TF_FinalizeFunction(graph_ctx, add_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      // Note: TF_OutputList does not own the underlying AbstractTensors, those
      // need to be deleted explicitly.
      TF_DeleteAbstractTensor(TF_OutputListGet(add_outputs, 0));
    
      // Build eager context.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.h

    // policy is applied to any subsequent op executions.
    TF_CAPI_EXPORT void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx,
                                                          unsigned char enable,
                                                          TF_Status* status);
    
    // Configure device placement policy logging for the eager executor. Note this
    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)
  8. tensorflow/c/eager/immediate_execution_context.h

      virtual void StartStep() = 0;
      // Destroy the step resource container for a training step.
      virtual void EndStep() = 0;
    
      // Return the Eager Executor for current thread. Please note that Eager
      // Executor is only used in current TF but not in TFRT.
      virtual EagerExecutor& Executor() = 0;
      // Update the Eager Executor for current thread.
      virtual void SetExecutorForThread(EagerExecutor* executor) = 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)
  9. tensorflow/c/experimental/grappler/grappler.h

    // Get the size of input OpInfo::TensorProperties given node name.
    TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize(
        TF_GraphProperties* graph_properties, const char* name, int* num_values,
        TF_Status* status);
    
    // Get the size of output OpInfo::TensorProperties given node name.
    TF_CAPI_EXPORT extern void TF_GetOutputPropertiesListSize(
    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)
  10. tensorflow/c/eager/dlpack.cc

      bool valid = true;
      int64_t expected_stride = 1;
      for (int i = ndim - 1; i >= 0; --i) {
        // Empty tensors are always compact regardless of strides.
        if (shape_arr[i] == 0) return true;
        // Note that dimensions with size=1 can have any stride.
        if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) {
          valid = false;
        }
        expected_stride *= shape_arr[i];
      }
      return valid;
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top