Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for caps (0.16 sec)

  1. tensorflow/c/c_api_macros.h

    #ifdef SWIG
    #define TF_CAPI_EXPORT
    #else
    #if defined(_WIN32)
    #ifdef TF_COMPILE_LIBRARY
    #define TF_CAPI_EXPORT __declspec(dllexport)
    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_debug.cc

        return nullptr;
      }
      return new TFE_TensorDebugInfo(dev_dims);
    }
    
    TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo(
        TFE_TensorDebugInfo* debug_info) {
      delete debug_info;
    }
    
    TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims(
        TFE_TensorDebugInfo* debug_info) {
      return debug_info->dev_dims.size();
    }
    
    TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(22, product[3]);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Executor_MatMul_CPU) { Executor_MatMul_CPU(false); }
    TEST(CAPI, Executor_MatMul_CPUAsync) { Executor_MatMul_CPU(true); }
    
    void Deleter(void* data, size_t unused, void* tensor_handle) {
      TFE_DeleteTensorHandle(static_cast<TFE_TensorHandle*>(tensor_handle));
    }
    
    TEST(CAPI, TensorHandleOnDeviceMemory) {
      TF_Status* status = TF_NewStatus();
    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)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
    }
    TEST(CAPI, TensorHandleSilentCopy) {
      TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyAsync) {
      TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicy) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, Session_Min_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/false); }
    
    TEST(CAPI, Session_Min_XLA_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/true); }
    
    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
    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)
  6. tensorflow/c/checkpoint_reader.h

                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_internal.h

    };
    
    struct TF_Graph {
      TF_Graph();
    
      mutable tensorflow::mutex mu;
      tensorflow::Graph graph TF_GUARDED_BY(mu);
    
      // Runs shape inference.
      tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu);
    
      // Maps from name of an operation to the Node* in 'graph'.
      std::unordered_map<tensorflow::string, tensorflow::Node*> name_map
          TF_GUARDED_BY(mu);
    
      // The keys of this map are all the active sessions using this graph. Each
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    // overridden per thread using TFE_ContextSetExecutorForThread.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
                                                          unsigned char enable);
    
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
        TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy);
    
    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    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)
  9. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
                                                           const char* arg_name,
                                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. tensorflow/c/env.h

    TF_CAPI_EXPORT extern TF_StringStream* TF_GetLocalTempDirectories(void);
    
    // Creates a temporary file name with an extension.
    // The caller is responsible for freeing the returned pointer.
    TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension);
    
    // Returns the number of nanoseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
Back to top