Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for arity (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    public abstract class KaFunctionalType : KaNonErrorClassType(), KaContextReceiversOwner {
        public abstract val isSuspend: Boolean
        public abstract val isReflectType: Boolean
        public abstract val arity: Int
        public abstract val hasContextReceivers: Boolean
        public abstract val receiverType: KaType?
        public abstract val hasReceiver: Boolean
        public abstract val parameterTypes: List<KaType>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/decl.go

    				var init syntax.Expr
    				if i < len(values) {
    					init = values[i]
    				}
    
    				check.constDecl(obj, last.Type, init, inherited)
    			}
    
    			// Constants must always have init values.
    			check.arity(s.Pos(), s.NameList, values, true, inherited)
    
    			// process function literals in init expressions before scope changes
    			check.processDelayed(top)
    
    			// spec: "The scope of a constant or variable identifier declared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_validate_inputs.mlir

        // expected-error @+1 {{'tf.Identity' op TF2XLA TPU bridge input check: invalid no. of tuple shardings 2 for arity = 1}}
        %0, %c = tf_executor.island wraps "tf.Identity"(%arg0) {_tpu_replicate = "cluster", _XlaSharding = "\08\02\2a\08\08\01\1a\01\01\22\01\00\2a\08\08\01\1a\01\01\22\01\01"} : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCastArity: {
    		Code:           "ParseCastArity",
    		Description:    "The SQL expression CAST has incorrect arity.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseInvalidTypeParam: {
    		Code:           "ParseInvalidTypeParam",
    		Description:    "The SQL expression contains an invalid parameter value.",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                loc,
                rewriter.create<arith::AddIOp>(
                    loc, input_size,
                    rewriter.create<arith::SubIOp>(loc, stride_value, one)),
                stride_value);
            // std::max(int64{0}, (output_size - 1) * stride +
            //     effective_filter_size - input_size);
            Value padding_needed = rewriter.create<arith::SubIOp>(
                loc,
                rewriter.create<arith::AddIOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top