Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nullptr (0.81 sec)

  1. tensorflow/c/c_api_experimental_test.cc

                        input_tensors.empty()
                            ? nullptr
                            : const_cast<TF_Tensor**>(input_tensors.data()),
                        /*input_tensors_as_shapes*/ nullptr,
                        /*input_resource_shapes_and_types*/ nullptr, &output_shapes,
                        /*output_resource_shapes_and_types*/ nullptr, status_);
        CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

          inputs, noutputs, outputs, output_names, 0, nullptr, nullptr, opts,
          description, status);
    }
    
    const char* TF_FunctionName(TF_Function* func) {
      return func->record->fdef().signature().name().c_str();
    }
    
    void TF_GraphCopyFunction(TF_Graph* g, const TF_Function* func,
                              const TF_Function* grad, TF_Status* status) {
      if (func == nullptr) {
        status->status = InvalidArgument(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      delete[] params->body_inputs;
      delete[] params->body_outputs;
    }
    
    TF_WhileParams EmptyWhileParams() {
      return {0,       nullptr, nullptr, {nullptr, 0},
              nullptr, nullptr, nullptr, nullptr};
    }
    
    }  // namespace
    
    TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs, int ninputs,
                               TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
                    /*inputs*/ &input, /*input_values*/ &tensor, /*ninputs*/ 1,
                    // output related parameters
                    /*outputs*/ nullptr, /*output_values*/ nullptr, /*noutputs*/ 0,
                    /*targets*/ &enqueue_op, /*ntargets*/ 1,
                    /*run_metadata*/ nullptr, status);
      VLOG(1) << "Enqueuing is done.";
    }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      TF_Status* status = TF_NewStatus();
    
      TF_DeleteStatus(nullptr);
      TF_DeleteBuffer(nullptr);
      TF_DeleteTensor(nullptr);
      TF_DeleteSessionOptions(nullptr);
      TF_DeleteGraph(nullptr);
      TF_DeleteImportGraphDefOptions(nullptr);
      TF_DeleteImportGraphDefResults(nullptr);
      TF_DeleteFunction(nullptr);
      TF_DeleteSession(nullptr, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

      func_ = TF_GraphToFunction(
          func_graph.get(), "func", /*append_hash_to_fn_name=*/false, -1,
          /*opers=*/nullptr, 0, nullptr, 3, outputs,
          /*output_names=*/nullptr,
          /*opts=*/nullptr, /*description=*/nullptr, s.get());
      ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
      ASSERT_NE(func_, nullptr);
    
      // Verify that FunctionDef has 2 attributes, "v1" and "v2".
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.h

    // Returns the operation in the graph with `oper_name`. Returns nullptr if
    // no operation found.
    TF_CAPI_EXPORT extern TF_Operation* TF_GraphOperationByName(
        TF_Graph* graph, const char* oper_name);
    
    // Iterate through the operations of a graph.  To use:
    // size_t pos = 0;
    // TF_Operation* oper;
    // while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
    //   DoSomethingWithOperation(oper);
    // }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    // TODO(akshayka): Implement a corresponding getter method.
    void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output,
                                               int num_shapes_and_types,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.h

    // For argument number input_index, fetch the corresponding number_attr that
    // needs to be updated with the argument length of the input list.
    // Returns nullptr if there is any problem like op_name is not found, or the
    // argument does not support this attribute type.
    TF_CAPI_EXPORT extern const char* TF_GetNumberAttrForOpListInput(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. RELEASE.md

    *   Fixes an undefined behavior arising from reference binding to nullptr in
        `RaggedTensorToSparse`
        ([CVE-2021-37656](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37656))
    *   Fixes an undefined behavior arising from reference binding to nullptr in
        `MatrixDiagV*` ops
        ([CVE-2021-37657](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37657))
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top