Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tensor1 (0.04 sec)

  1. tensorflow/c/c_api_test.cc

                                    s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      const char* tensor_data[] = {&tensor1[0], &tensor2[0]};
      const size_t tensor_size[] = {TF_ARRAYSIZE(tensor1), TF_ARRAYSIZE(tensor2)};
      const int64_t* tensor_dims[] = {&dims1[0], &dims2[0]};
      const size_t tensor_ndims[] = {ndims1, ndims2};
      for (int i = 0; i < 2; ++i) {
        TF_Tensor* v = values[i];
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // - Directly referencing external tensors from the cond/body graphs (this is
    //   possible in the Python API)
    TF_CAPI_EXPORT extern TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs,
                                                     int ninputs,
                                                     TF_Status* status);
    
    // Builds the while loop specified by `params` and returns the output tensors of
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TF_Tensor* tensor =
          TF_AllocateTensor(TF_FLOAT, dims.data(), dims.size(), sizeof(float));
      float tensor_data[] = {1};
      memcpy(TF_TensorData(tensor), tensor_data, TF_TensorByteSize(tensor));
      TFE_TensorHandle* tensor_handle = TFE_NewTensorHandle(tensor, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  4. tensorflow/BUILD

            "//tensorflow/core:reader_base",
            "//tensorflow/core:script_ops_op_lib",
            "//tensorflow/distribute/experimental/rpc/kernels:rpc_ops",
            "//tensorflow/dtensor/cc:dtensor_device_cc",
            "//tensorflow/dtensor/cc:tensor_layout",
            "//tensorflow/lite/c:common",
            "//tensorflow/lite/core/api",
            "//tensorflow/lite/delegates/flex:delegate",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

        Run(inputs, {{output, 0}}, {expected_result});
      }
    
      // Run the host graph, which now contains a function and check that
      // outputs are as expected.
      // 'T' stands for 'tensor' since the outputs are tensors, not scalars.
      void RunT(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs,
                std::initializer_list<TF_Output> outputs,
                const std::vector<std::vector<int32_t>>& expected_results) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top