Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 121 for variadicOk (0.16 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    struct AssertTypeEq;
    
    template <typename T>
    struct AssertTypeEq<T, T> {
      typedef bool type;
    };
    
    // A unique type used as the default value for the arguments of class
    // template Types.  This allows us to simulate variadic templates
    // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
    // support directly.
    struct None {};
    
    // The following family of struct and struct templates are used to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 181.3K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    struct AssertTypeEq;
    
    template <typename T>
    struct AssertTypeEq<T, T> {
      typedef bool type;
    };
    
    // A unique type used as the default value for the arguments of class
    // template Types.  This allows us to simulate variadic templates
    // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
    // support directly.
    struct None {};
    
    // The following family of struct and struct templates are used to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func private @testIfElse(f32) -> f32
    
    // Test invalid tf.If operation
    func.func @testInvalidIfOp(tensor<i1>, f32) -> f32 {
    ^bb0(%arg0: tensor<i1>, %arg1: f32):
      // expected-error @+1 {{operand #1 must be variadic of tensor of tf.dtype values}}
      %1 = "tf.If"(%arg0, %arg1) {
        then_branch = @testIfThen,
        else_branch = @testIfElse,
        is_stateless = false
      } : (tensor<i1>, f32) -> f32
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    }
    
    // Returns the number of elements in `range`.
    template <typename Range>
    size_t Size(Range&& range) {
      return range.size();
    }
    
    // Returns the total number of elements in a variadic number of `ranges`.
    template <typename Range, typename... RangeTs>
    size_t Size(Range&& range, RangeTs&&... ranges) {
      return range.size() + Size(std::forward<RangeTs>(ranges)...);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    //                   |
    //               value   [5, 8, 9]
    //
    //   This can actually be simplified into just:
    //
    //           =>   Value [5, 8, 9]
    // TODO(b/133341698): Move to tablegen when variadic is supported.
    struct RemoveRedundantUnpackPack : public RewritePattern {
      explicit RemoveRedundantUnpackPack(MLIRContext* context)
          : RewritePattern(PackOp::getOperationName(), 2, context) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          };
    
      if (inner_op->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>() ||
          inner_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) {
        // The op has multiple variadic operands or results.
        // Calculate operand and result segment sizes using the OpDef.
        NameRangeMap input_ranges, output_ranges;
        // This will fail only if the OpDef is syntactically invalid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

    ^bb0(%arg0: tensor<? x f16>, %arg1: tensor<? x f16>, %arg2: tensor<? x f16>):
      // expected-error @+1 {{'tfl.add_n' op operand #0 must be variadic of tensor of 32-bit float or 32-bit signless integer}}
      %0 = "tfl.add_n"(%arg0, %arg1, %arg2): (tensor<? x f16>, tensor<? x f16>, tensor<? x f16>) -> tensor<? x f16>
      func.return %0 : tensor<? x f16>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            element_types.push_back(getElementTypeOrSelf(value.getType()));
          }
        }
    
        if constexpr (std::is_same<DstOpT, mhlo::CaseOp>::value) {
          // Explicitly handle the Case op because it has variadic regions and takes
          // the number of regions as an input along with the operands.
          mhlo_op = rewriter.create<DstOpT>(loc, op.getResultTypes(),
                                            adaptor.getBranchIndex(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. RELEASE.md

            (incl. anti-aliasing).
        *   Renamed `tf.image` functions to remove duplicate "image" where it is
            redundant.
        *   Variadic reduce is supported on CPU Variadic reduce is supported on CPU
        *   Remove unused `StringViewVariantWrapper`.
        *   Delete unused `Fingerprint64Map` op registration
        *   Add broadcasting support to `tf.matmul`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    	}
    	return s.newValue3(ssa.OpSliceMake, n.Type(), p, l, c)
    }
    
    // minMax converts an OMIN/OMAX builtin call into SSA.
    func (s *state) minMax(n *ir.CallExpr) *ssa.Value {
    	// The OMIN/OMAX builtin is variadic, but its semantics are
    	// equivalent to left-folding a binary min/max operation across the
    	// arguments list.
    	fold := func(op func(x, a *ssa.Value) *ssa.Value) *ssa.Value {
    		x := s.expr(n.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top