- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for arity (0.12 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) -
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/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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir
layerStats = dense<[-1.28e-5, 1.27e-5]> : tensor<2xf32> } : (tensor<1x5x5x2xf32>) -> tensor<1x5x5x2xf32> %w = arith.constant dense<[[[[-1.0, 1.0]]], [[[1.0, 2.0]]], [[[-2.0, 1.0]]]]> : tensor<3x1x1x2xf32> %b = arith.constant dense<0.0> : tensor<3xf32> %b2 = arith.constant dense<[1.0e-2, 2.1473647e1, -2.1473647e2]> : tensor<3xf32> %conv = "tfl.conv_2d"(%0, %w, %b) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/const-fold.mlir
%0 = arith.constant dense<-1.0> : tensor<f32> %1 = arith.constant dense<1.0> : tensor<f32> %2 = arith.constant dense<1.0> : tensor<f32> %3 = arith.constant dense<1.0> : tensor<f32> %4 = arith.constant dense<4.0> : tensor<f32> %5 = arith.constant dense<4.0> : tensor<f32> %6 = arith.constant dense<2.0> : tensor<f32> // CHECK-DAG: [[cst0:%.*]] = arith.constant dense<1.000000e+00> : tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 45.8K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
if err != nil { return err } sc.Parity = s.Parity return nil } // MarshalText - marshals storage class string. func (sc *StorageClass) MarshalText() ([]byte, error) { if sc.Parity != 0 { return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil } return []byte{}, nil } func (sc *StorageClass) String() string { if sc.Parity != 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir
%cst = arith.constant dense<0.000000e+00> : tensor<4x2xf32> %cst_0 = arith.constant dense<0.000000e+00> : tensor<8xf32> %cst_1 = arith.constant dense<[1, 0, 2]> : tensor<3xi32> %cst_2 = arith.constant dense<0.000000e+00> : tensor<4x4x2xf32> %cst_3 = arith.constant dense<4> : tensor<i32> %cst_4 = arith.constant dense<1.000000e+00> : tensor<f32> %cst_5 = arith.constant dense<1> : tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.5K bytes - Viewed (0)