- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 350 for arity (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
StringAttr attr) { int arity = rep.getInputs().size(); if (rep.getIsPacked() && arity != 1) { rep.emitOpError( "TF2XLA TPU bridge input check: packed with number of inputs not 1.") << " num_replicas=" << num_replicas << " no. of inputs=" << arity; return false; } else if (!rep.getIsPacked() && arity != num_replicas) { rep.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/util/functionUtils.kt
import org.jetbrains.kotlin.util.OperatorNameConventions val kotlinFunctionInvokeCallableIds = (0..23).flatMapTo(hashSetOf()) { arity -> listOf( CallableId(StandardNames.getFunctionClassId(arity), OperatorNameConventions.INVOKE), CallableId(StandardNames.getSuspendFunctionClassId(arity), OperatorNameConventions.INVOKE) )
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Dec 06 11:40:42 UTC 2021 - 713 bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt
override val isReflectType: Boolean get() = withValidityAssertion { descriptor.functionTypeKind.isReflectType } override val arity: Int get() = withValidityAssertion { descriptor.arity } override val hasContextReceivers: Boolean get() = withValidityAssertion { fe10Type.contextFunctionTypeParamsCount() > 0 } @OptIn(KaAnalysisApiInternals::class)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
}, }) } func (t *Trace) createEvent(ev event.Type, data []byte, args ...uint64) raw.Event { spec := t.specs[ev] if ev != go122.EvStack { if arity := len(spec.Args); len(args) != arity { panic(fmt.Sprintf("expected %d args for %s, got %d", arity, spec.Name, len(args))) } } return raw.Event{ Version: version.Go122, Ev: ev, Args: args, Data: data, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 14:54:57 UTC 2024 - 16.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt
override val isReflectType: Boolean get() = withValidityAssertion { coneType.functionTypeKind(builder.rootSession)?.isReflectType == true } override val arity: Int get() = withValidityAssertion { parameterTypes.size } @OptIn(KaAnalysisApiInternals::class) override val contextReceivers: List<KaContextReceiver> by cached {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 4.4K bytes - Viewed (0) -
src/internal/types/testdata/check/constdecl.go
func _() { const _ = v /* ERROR "not constant" */ const _ = math /* ERROR "not constant" */ .Sin(0) const _ = int /* ERROR "not an expression" */ } // Identifier and expression arity must match. const _ /* ERROR "missing init expr for _" */ const _ = 1, 2 /* ERROR "extra init expr 2" */ const _ /* ERROR "missing init expr for _" */ int const _ int = 1, 2 /* ERROR "extra init expr 2" */ const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
if m == nil { m = make(map[Object]bool) d.deps = m } m[obj] = true } // arity checks that the lhs and rhs of a const or var decl // have a matching number of names and initialization values. // If inherited is set, the initialization values are from // another (constant) declaration. func (check *Checker) arity(pos syntax.Pos, names []*syntax.Name, inits []syntax.Expr, constDecl, inherited bool) { l := len(names)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
src/internal/types/testdata/check/vardecl.go
var _, _, _; /* ERROR "expected type" */ // The initializer must be an expression. var _ = int /* ERROR "not an expression" */ var _ = f /* ERROR "used as value" */ () // Identifier and expression arity must match. var _, _ = 1, 2 var _ = 1, 2 /* ERROR "extra init expr 2" */ var _, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */ var _, _, _ /* ERROR "missing init expr for _" */ = 1, 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td
return a structured value. A structured value consists of arbitrarily nested dicts/lists with tensors as leaves (composite tensors here mostly behave as just dicts holding other tensors). The arity of the Python-level function is modeled as an outer list. Additionally, any variables or constants used by the function are implicitly appended to the argument list of the underlying func in a way that is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 7.2K bytes - Viewed (0)