Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for arity (0.5 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. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

            e.is(failure)
    
            and:
            1 * action.execute(arg) >> { throw failure }
    
            and:
            verifyExpectedOp('foo', id, failure)
        }
    
        def 'decorates closures of same single arity'() {
            given:
            def called = false
            def arg = new Object()
            def closure = { passedArg ->
                assert passedArg == arg
                called = true
            }
            def id
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. 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)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    // and the values v1, v2, ..., must support the << operator for
    // streaming to std::ostream.
    //
    // We also define the EXPECT_* variations.
    //
    // For now we only support predicates whose arity is at most 5.
    // Please email ******@****.*** if you need
    // support for higher arities.
    
    // GTEST_ASSERT_ is the basic statement to which all of the assertions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    // and the values v1, v2, ..., must support the << operator for
    // streaming to std::ostream.
    //
    // We also define the EXPECT_* variations.
    //
    // For now we only support predicates whose arity is at most 5.
    // Please email ******@****.*** if you need
    // support for higher arities.
    
    // GTEST_ASSERT_ is the basic statement to which all of the assertions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseCastArity(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseCastArity",
    		message:    "The SQL expression CAST has incorrect arity.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseEmptySelect(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseEmptySelect",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %in = arith.constant dense<0.0> : tensor<3x3x48x1xf32>
      %min = arith.constant dense<0.0> : tensor<48xf32>
      %max = arith.constant dense<255.0> : tensor<48xf32>
      %mini = "tf.Identity"(%min) : (tensor<48xf32>) -> tensor<48xf32>
      %maxi = "tf.Identity"(%max) : (tensor<48xf32>) -> tensor<48xf32>
      %s1 = arith.constant dense<[3, 3, 48]> : tensor<3xi32>
      %s2 = arith.constant dense<[3, 3, 48, 1]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %in = arith.constant dense<0.0> : tensor<3x3x48x1xf32>
      %min = arith.constant dense<0.0> : tensor<48xf32>
      %max = arith.constant dense<15.0> : tensor<48xf32>
      %mini = "tf.Identity"(%min) : (tensor<48xf32>) -> tensor<48xf32>
      %maxi = "tf.Identity"(%max) : (tensor<48xf32>) -> tensor<48xf32>
      %s1 = arith.constant dense<[3, 3, 48]> : tensor<3xi32>
      %s2 = arith.constant dense<[3, 3, 48, 1]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top