Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forge (0.21 sec)

  1. tensorflow/c/c_api_experimental.cc

      if (op_reg_data->shape_inference_fn == nullptr) {
        status->status =
            InvalidArgument("No shape inference function exists for op '",
                            node_def.op(), "', did you forget to define it?");
        return;
      }
    
      status->status = c.Run(op_reg_data->shape_inference_fn);
      if (!status->status.ok()) return;
    
      // Set output_shapes.
      TF_ShapeAndTypeList* output_shapes_result =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(value);
    }
    
    TEST_F(CApiAttributesTest, StringTensor) {
      // Create the string-Tensor "attribute" value.
      const char test_string[] =
          "borkborkborkborkborkborkborkbork";  // >24bytes to force heap alloc
      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

              (std::min)(n - copy_size, gcs_file->buffer.size());
          memcpy(buffer + copy_size, gcs_file->buffer.data(), remaining_copy);
          copy_size += remaining_copy;
        }
        if (copy_size < n) {
          // Forget the end-of-file flag to allow for clients that poll on the
          // same file.
          gcs_file->buffer_end_is_past_eof = false;
          TF_SetStatus(status, TF_OUT_OF_RANGE, "Read less bytes than requested");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top