Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RunModel (0.05 sec)

  1. tensorflow/c/eager/gradient_checker.cc

                                absl::Span<AbstractTensorHandle*> outputs,
                                bool use_function) {
      AbstractTensorHandle* model_outputs[1];
    
      // Run the model.
      TF_RETURN_IF_ERROR(
          RunModel(forward, ctx, inputs, model_outputs, use_function));
      AbstractTensorHandlePtr model_out(model_outputs[0]);
    
      TF_Tensor* model_out_tensor;
      TF_RETURN_IF_ERROR(GetValue(model_out.get(), &model_out_tensor));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients_test.cc

        ASSERT_EQ(errors::OK, s.code()) << s.message();
        x.reset(x_raw);
      }
    
      std::vector<AbstractTensorHandle*> outputs(1);
      absl::Status s = RunModel(RecordOperationWithNullGradientFunctionModel,
                                ctx.get(), {x.get()}, absl::MakeSpan(outputs),
                                /*use_function=*/!std::get<2>(GetParam()));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top