Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for variadicOk (0.27 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrFalse),
            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let summary = "XLA Launch Op. For use by the XLA JIT only.";
    
      let arguments = (ins
        Variadic<TF_Tensor>:$constants,
        Variadic<TF_Tensor>:$args,
        Variadic<TF_ResourceTensor>:$resources,
    
        SymbolRefAttr:$function
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$results
      );
    
      TF_DerivedOperandSizeAttr Nresources = TF_DerivedOperandSizeAttr<2>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    class TFL_VariadicTensorOf<list<Type> allowedRuntimeTypes,
                       list<Type> allowedOpTypes = [AnyType]> :
      Variadic<TensorOf<allowedOpTypes>>,
      TFL_RuntimeType<Variadic<TensorOf<allowedRuntimeTypes>>>;
    
    def TFL_I4 : I<4>;
    def TFL_Int32Or64 : SignlessIntOfWidths<[32, 64]>;
    
    def TFL_BoolTensor : TFL_TensorOf<[I1]>;
    def TFL_FpTensor : TFL_TensorOf<[F32]>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    		// and result values, corresponding parameter and result types unify,
    		// and either both functions are variadic or neither is.
    		// Parameter and result names are not required to match.
    		// TODO(gri) handle type parameters or document why we can ignore them.
    		if y, ok := y.(*Signature); ok {
    			return x.variadic == y.variadic &&
    				u.nify(x.params, y.params, emode, p) &&
    				u.nify(x.results, y.results, emode, p)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/go/types/unify.go

    		// and result values, corresponding parameter and result types unify,
    		// and either both functions are variadic or neither is.
    		// Parameter and result names are not required to match.
    		// TODO(gri) handle type parameters or document why we can ignore them.
    		if y, ok := y.(*Signature); ok {
    			return x.variadic == y.variadic &&
    				u.nify(x.params, y.params, emode, p) &&
    				u.nify(x.results, y.results, emode, p)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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