Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Benson (0.21 sec)

  1. tensorflow/c/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Tensor* expected_out0 = expected_csession->output_tensor(0);
        TF_Tensor* expected_out1 = expected_csession->output_tensor(1);
    
        CompareTensors(out0, expected_out0);
        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
    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/eager/c_api_test.cc

      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);
      TFE_OpAddInput(op, tensor_handle, status);
      TF_DeleteTensor(tensor);
    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)
  3. tensorflow/c/c_api_function_test.cc

       *                 v     v
       *                   add
       *                    |
       *                    |
       *                    v
       */
      // Define
      TF_Tensor* tensor_123 = Int32Tensor({1, 2, 3});
      TF_Operation* c = Const(tensor_123, func_graph_, s_, "const_array");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* split = Split3(c, func_graph_, s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. tensorflow/BUILD

            "//tensorflow/c:c_api_internal",
            "//tensorflow/c:c_api_no_xla",
            "//tensorflow/c:checkpoint_reader",
            "//tensorflow/c:tensor_interface",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c:tf_tensor_internal",
            "//tensorflow/cc/saved_model:loader",
            "//tensorflow/compiler/mlir/lite/metrics:error_collector",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// On successful deletion, `status` must be `TF_OK` and `*undeleted_files`
      /// and `*undeleted_dirs` must be 0. On unsuccessful deletion, `status` must
      /// be set to the reason why one entry couldn't be removed and the proper
      /// count must be updated. If the deletion is unsuccessful because the
      /// traversal couldn't start, `*undeleted_files` must be set to 0 and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

                                                         TF_Tensor** value,
                                                         TF_Status* status);
    
    // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of
    // `oper`. `values` must point to an array of TF_Tensor* of length at least
    // `max_values` (ideally set to TF_AttrMetadata.list_size from
    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