Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Motrix (0.24 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

      /* Want to test simple MatMul example with abstract tensors:
        [[1,2],   *  [[5,6],   =   [[19,22],
         [3,4]]       [7,8]]        [43,50]]
      */
    
      // Build 1st Matrix.
      int64_t dims[] = {2, 2};  // Matrices will be 2 x 2
      int num_dims = sizeof(dims) / sizeof(dims[0]);
    
      float vals1[] = {1.0f, 2.0f, 3.0f, 4.0f};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

        EXPECT_NE(TF_OK, TF_GetCode(status));
      } else {
        TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
        EXPECT_NE(TF_OK, TF_GetCode(status));
        EXPECT_EQ(nullptr, t);
        const char* msg = "Matrix size-incompatible: In[0]: [2,2], In[1]: [3,2]";
        EXPECT_TRUE(strstr(TF_Message(status), msg) != nullptr)
            << TF_Message(status);
        // Since error is not cleared, the following copy with correct device will
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/eager/unified_api_test.cc

                          /*inputs=*/{x.get()},
                          /*outputs=*/{},
                          /*use_function=*/UseFunction());
      ASSERT_EQ(errors::OK, s.code()) << s.message();
    }
    
    // Checks that inputs[0] is a matrix with shape 2x4.
    Status TestTensorShape2x4(AbstractContext* ctx,
                              absl::Span<AbstractTensorHandle* const> inputs,
                              absl::Span<AbstractTensorHandle*> outputs) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top