Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for alice (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      }
      TF_DeleteTensor(a);
    }
    
    TEST(CAPI, TestTensorIsNotAligned) {
      // Test unaligned access via a Slice.
      Tensor x(DT_FLOAT, TensorShape({30}));
      x.flat<float>().setConstant(0.0);
    
      // Take an unaligned slice.
      Tensor y = x.Slice(1, 13);
      Status status;
      TF_Tensor* a = TF_TensorFromTensor(y, &status);
      if (TF_TensorDefaultAlignment() > 0) {
    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)
  2. tensorflow/c/c_api.h

    // Return a new execution session with the associated graph, or NULL on
    // error. Does not take ownership of any input parameters.
    //
    // *`graph` must be a valid graph (not deleted or nullptr). `graph` will be
    // kept alive for the lifetime of the returned TF_Session. New nodes can still
    // be added to `graph` after this call.
    TF_CAPI_EXPORT extern TF_Session* TF_NewSession(TF_Graph* graph,
    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)
Back to top