Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for add_input (0.12 sec)

  1. tensorflow/c/eager/abstract_operation.h

      //
      // The value will override the previous value - that is, no "merging" of
      // existing and given constraints will be performed.
      virtual Status SetDeviceName(const char* name) = 0;
    
      virtual Status AddInput(AbstractTensorHandle* input) = 0;
      virtual Status AddInputList(
          absl::Span<AbstractTensorHandle* const> inputs) = 0;
      virtual Status Execute(absl::Span<AbstractTensorHandle*> retvals,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 14 16:20:41 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

                             TF_AbstractTensor* const* inputs, TF_OutputList* o,
                             TF_Status* s) {
      for (int i = 0; i < num_inputs; i++) {
        tsl::Set_TF_Status_from_Status(s, unwrap(op)->AddInput(unwrap(inputs[i])));
        if (TF_GetCode(s) != TF_OK) {
          return;
        }
      }
      int num_outputs = unwrap(o)->expected_num_outputs;
      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Execute(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/function.cc

      auto call_op = AbstractOperationPtr(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(
          call_op->Reset(fname.c_str(), /*raw_device_name=*/nullptr));
      for (auto t : inputs) {
        TF_RETURN_IF_ERROR(call_op->AddInput(t));
      }
      int num_outputs = outputs.size();
      return call_op->Execute(outputs, &num_outputs);
    }
    
    Status VerifySupportedSignature(TaggedValue signature) {
      if (signature.type() == TaggedValue::Type::TENSOR_SPEC) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expectValue: types.Int(1),
    		},
    		{
    			name:        "add_quantity",
    			expr:        `quantity("50k").add(quantity("20")) == quantity("50.02k")`,
    			expectValue: trueVal,
    		},
    		{
    			name:        "add_int",
    			expr:        `quantity("50k").add(20).isLessThan(quantity("50020"))`,
    			expectValue: falseVal,
    		},
    		{
    			name:        "sub_quantity",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top