Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nulla (0.17 sec)

  1. tensorflow/c/experimental/gradients/nn_grad.cc

        // Grad for Softmax Input
        TF_RETURN_IF_ERROR(BroadcastMul(
            ctx, grad_outputs[0], forward_outputs_[1],
            grad_inputs.subspan(0, 1)));  // upstream_grad * local softmax grad
    
        // Grad for labels is null
        grad_inputs[1] = nullptr;
        return absl::OkStatus();
      }
      ~SparseSoftmaxCrossEntropyWithLogitsGradientFunction() override {}
    
     private:
      vector<AbstractTensorHandle*> forward_outputs_;
    };
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

                              TF_Status* status) {                            \
        if (list == nullptr) {                                                \
          status->status = InvalidArgument("list is null!");                  \
          return err_val;                                                     \
        }                                                                     \
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

        gtl::ArraySlice<AbstractTensorHandle*> output_gradients,
        absl::Span<AbstractTensorHandle*> result) const {
      if (gradient_function == nullptr) {
        return errors::InvalidArgument(
            "Provided null gradient_function for '", op_type, "'.\n",
            "If the intent is to treat this op as non-differentiable consider "
            "using RegisterNotDifferentiable or "
            "NotDifferentiableGradientFunction.");
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
      absl::Status cc_status;
      if (var_info == nullptr) {
        cc_status = absl::InvalidArgumentError("TF_VariableInfo is NULL.");
        status->status = cc_status;
        return;
      }
      if (var_info->var_info.var() == nullptr) {
        cc_status = absl::InvalidArgumentError(
            "VariableInfo does not track a resource variable.");
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  5. tensorflow/c/eager/gradients_test.cc

                          {x.get()}, absl::MakeSpan(outputs),
                          /*use_function=*/!std::get<2>(GetParam()));
      ASSERT_EQ(error::INVALID_ARGUMENT, s.code());
      ASSERT_EQ(
          "Provided null gradient_function for 'Neg'.\nIf the intent is to treat "
          "this op as non-differentiable consider using RegisterNotDifferentiable "
          "or NotDifferentiableGradientFunction.",
          s.message());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function.cc

                              const TF_Function* grad, TF_Status* status) {
      if (func == nullptr) {
        status->status = InvalidArgument(
            "'func' argument to TF_GraphCopyFunction cannot be null");
        return;
      }
    
      tensorflow::mutex_lock l(g->mu);
      status->status = g->graph.AddFunctionDef(func->record->fdef(),
                                               func->record->stack_traces());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    ::testing::AssertionResult CompareSubString(int64_t offset, size_t length,
                                                absl::string_view result,
                                                size_t read) {
      // Result isn't a null-terminated string so we have to wrap it inside a
      // `string_view`
      if (length == read && content_view.substr(offset, length) ==
                                absl::string_view(result).substr(0, read))
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

      return ret;
    }
    
    // On success, returns a set of TF_Function instances from `text_proto` of
    // GraphDef type. These functions must be deleted by calling TF_DeleteFunction.
    //
    // If `mutate_proto_func` is non-NULL, run it over each FunctionDef proto,
    // before creating a TF_Function out of the possibly mutated proto.
    static std::vector<UniqueFuncPtr> CreateFunctionsFromTextProto(
        const char* text_proto,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
        return FileSystem::DeleteRecursively(dirname, token, undeleted_files,
                                             undeleted_dirs);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      TF_SessionOptions* opt = TF_NewSessionOptions();
      TF_Status* s = TF_NewStatus();
      const char* tags[] = {tensorflow::kSavedModelTagServe};
      TF_Graph* graph = TF_NewGraph();
      // NULL run_options and meta_graph_def should work.
      TF_Session* session = TF_LoadSessionFromSavedModel(
          opt, nullptr, saved_model_dir.c_str(), tags, 1, graph, nullptr, s);
      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top