Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for add_input (0.12 sec)

  1. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

      TF_RETURN_IF_ERROR(assign_op->Reset("AssignVariableOp", nullptr));
      TF_RETURN_IF_ERROR(assign_op->SetAttrType("dtype", dtype));
      TF_RETURN_IF_ERROR(assign_op->AddInput(variable_handle));
      TF_RETURN_IF_ERROR(assign_op->AddInput(value));
    
      int num_retvals = 0;
      TF_RETURN_IF_ERROR(assign_op->Execute({}, &num_retvals));
      return Status();
    }
    
    Status ReadVariable(ImmediateExecutionContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

                        (MHLO_CompositeOp:$old_val
                        (variadic $a_input), 
                        ConstantStrAttr<StrAttr, "aten.avg_pool2d.default">, $attrs, $_, $_),
                        (TFL_TransposeOp 
                            (TFL_AveragePool2DOp 
                                /*input*/ (TFL_TransposeOp $a_input,
                                    (Arith_ConstantOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc

    ArgView::ArgView(ArgSpec arg) : arg_(arg) {}
    
    string ArgView::VariableName() const { return arg_.name(); }
    
    string ArgView::SetterMethod() const {
      if (IsList()) {
        return "AddInputList";
      } else {
        return "AddInput";
      }
    }
    
    std::vector<string> ArgView::SetterArgs() const { return {VariableName()}; }
    
    bool ArgView::IsList() const { return arg_.arg_type().is_list(); }
    
    int ArgView::Position() const { return arg_.position(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

      LogicalResult matchAndRewrite(stablehlo::PadOp pad_op,
                                    PatternRewriter& rewriter) const override {
        Value pad_input = pad_op.getOperand();
        RankedTensorType pad_type = pad_op.getType().cast<RankedTensorType>();
    
        auto transpose_op = pad_input.getDefiningOp<stablehlo::TransposeOp>();
        if (!transpose_op || !transpose_op->hasOneUse()) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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