Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for add_input (0.11 sec)

  1. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      auto* new_op = new EagerOperation(&ctx);
      TF_RETURN_IF_ERROR(
          new_op->Reset(fname.c_str(), orig_op->DeviceName().c_str()));
      for (auto input : orig_op->GetInputs()) {
        TF_RETURN_IF_ERROR(new_op->AddInput(input));
      }
      new_op->MutableAttrs()->CopyAttributes(orig_op->Attrs());
      out_op->reset(new_op);
    
      LOG_FIRST_N(INFO, 1)
          << "Finish Node Expansion Passes. Rewrite the op to call function: "
          << fname;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir

      %bias = arith.constant dense<[7.11401462, 7.05456924]> : tensor<2xf32>
    
      %q_input= "quantfork.qcast"(%input) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3x!quant.uniform<i8:f32, 0.58810077742034317:-128>>
      %dq_input= "quantfork.dcast"(%q_input) : (tensor<1x3x4x3x!quant.uniform<i8:f32, 0.58810077742034317:-128>>) -> tensor<1x3x4x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients_test.cc

      if (isa<TracingOperation>(check_numerics_op.get())) {
        s = dyn_cast<TracingOperation>(check_numerics_op.get())
                ->SetOpName("check_numerics");
        ASSERT_EQ(errors::OK, s.code()) << s.message();
      }
      s = AddInput(check_numerics_op.get(), t.get(), &forward_op);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      string message = "This is the way!";
      s = SetAttrString(check_numerics_op.get(), "message", message.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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