Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forge (0.16 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)
Back to top