- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 214 for typeName (0.15 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
// also rewrites the body with a quantized equivalent. // // `FuncBodyRewritePatternT` defines how a function body is quantized and // rewritten. template <typename FuncBodyRewritePatternT, typename = std::enable_if_t<std::is_base_of_v< EntryFuncBodyQuantizationPattern, FuncBodyRewritePatternT>>> class XlaCallModuleOpToCallOp : public OpRewritePattern<TF::XlaCallModuleOp> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
src/go/types/check.go
func (check *Checker) brokenAlias(alias *TypeName) { assert(!check.conf._EnableAlias) if check.brokenAliases == nil { check.brokenAliases = make(map[*TypeName]bool) } check.brokenAliases[alias] = true alias.typ = Typ[Invalid] } // validAlias records that alias has the valid type typ (possibly Typ[Invalid]). func (check *Checker) validAlias(alias *TypeName, typ Type) { assert(!check.conf._EnableAlias)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
return false } u, _ := named.under().(*Interface) return u != nil && !u.IsMethodSet() } func (check *Checker) typeDecl(obj *TypeName, tdecl *syntax.TypeDecl, def *TypeName) { assert(obj.typ == nil) // Only report a version error if we have not reported one already. versionErr := false var rhs Type check.later(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
if pkg != nil { return pkg.Scope() } return types.Universe } // newAliasTypeName returns a new TypeName, with a materialized *types.Alias if supported. func newAliasTypeName(pos token.Pos, pkg *types.Package, name string, rhs types.Type) *types.TypeName { // When GODEBUG=gotypesalias=1 or unset, the Type() of the return value is a // *types.Alias. Copied from x/tools/internal/aliases.NewAlias.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
// patterns below are considered legal: // - `BitcastConvertOp` (i32 -> f32) + `ConvertOp` (f32 -> bf16) // - `ConvertOp` (bf16 -> f32) -> `BitcastConvertOp` (f32 -> i32) template <typename ConvertOp, typename OtherConvertOp> bool IsConvertOpLegal(ConvertOp convert_op, BFloat16TypeConverter& converter) { if (!converter.isLegal(convert_op.getOperand().getType())) { auto other_convert_op = dyn_cast_or_null<OtherConvertOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
const Value& indices, const ShapedType& indices_type, Value& updates, ShapedType& updates_type, ConversionPatternRewriter& rewriter); template <typename BinaryOp, typename TfOp> class ConvertScatterOp : public OpConversionPattern<mhlo::ScatterOp> { public: using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla_passes.h
#include "mlir/Transforms/DialectConversion.h" // from @llvm-project namespace mlir { namespace func { class FuncOp; } class ModuleOp; class Operation; template <typename T> class OperationPass; class Pass; namespace mhlo { /// Converter to be used along with the fallback Tf2Xla patterns below. class Tf2XlaTypeConverter : public TypeConverter { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
using testing::matchers::CtrlDeps; using testing::matchers::Inputs; using testing::matchers::Name; using testing::matchers::NodeWith; using testing::matchers::Op; using testing::matchers::Out; template <typename M, typename T> string Explain(const T& t, const M& m) { ::testing::StringMatchResultListener listener; EXPECT_THAT(t, ::testing::Not(m)); // For the error message. EXPECT_FALSE(m.MatchAndExplain(t, &listener));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
func (check *Checker) brokenAlias(alias *TypeName) { assert(!check.conf.EnableAlias) if check.brokenAliases == nil { check.brokenAliases = make(map[*TypeName]bool) } check.brokenAliases[alias] = true alias.typ = Typ[Invalid] } // validAlias records that alias has the valid type typ (possibly Typ[Invalid]). func (check *Checker) validAlias(alias *TypeName, typ Type) { assert(!check.conf.EnableAlias)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt
bean.uncheckedCast<IConventionAware>() .conventionMapping .getConventionValue<Any?>(fieldValue, field.name, false) private fun Field.debugFrameName() = "${declaringClass.typeName}.$name" private fun Any?.isAssignableTo(type: Class<*>) = (if (type.isPrimitive) wrap(type) else type) .isInstance(this)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.3K bytes - Viewed (0)