Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,182 for const2 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

    node {
      name: "Quantized_Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_QUINT8
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_QUINT8
            tensor_shape {
            }
            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_identity_n.mlir

    func.func @main() -> tensor<2x3xi32> {
      %graph = tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {value = dense<5> : tensor<2x3xi32>} : () -> tensor<2x3xi32> loc("Const0")
        %1:2 = tf_executor.island wraps "tf.Const"() {value = dense<4.2> : tensor<4x5xf32>} : () -> tensor<4x5xf32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1014 bytes
    - Viewed (0)
  3. test/typeparam/cons.go

    	Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any
    }
    
    type Nil[a any] struct {
    }
    
    func (xs Nil[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any {
    	return casenil.Apply(xs)
    }
    
    type Cons[a any] struct {
    	Head a
    	Tail List[a]
    }
    
    func (xs Cons[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any {
    	return casecons.Apply(xs)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 21 23:41:49 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. pkg/kube/kclient/crdwatcher.go

    	// Setup a filter
    	crd := t.(*metav1.PartialObjectMetadata)
    	mv, f := minimumCRDVersions[crd.Name]
    	if !f {
    		return true
    	}
    	bv, f := crd.Annotations[consts.BundleVersionAnnotation]
    	if !f {
    		log.Errorf("CRD %v expected to have a %v annotation, but none found; ignoring", crd.Name, consts.BundleVersion)
    		return false
    	}
    	fv, err := semver.NewVersion(bv)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/internal/objabi/stack.go

    // stack guard size. Larger multipliers are used for non-optimized
    // builds that have larger stack frames or for specific targets.
    func stackGuardMultiplier(race bool) int {
    	// This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier.
    	n := 1
    	// On AIX, a larger stack is needed for syscalls.
    	if buildcfg.GOOS == "aix" {
    		n += 1
    	}
    	// The race build also needs more stack.
    	if race {
    		n += 1
    	}
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.h

    // Populates a TPUCompileMetadataProto from attributes of a
    // `tf_device::ClusterFuncOp`. If any necessary attributes are missing from the
    // op, a failure will be returned.
    // TODO(lyandy): Support session handle and guaranteed consts.
    LogicalResult SetMetadataProtoFromClusterFuncOp(
        tf_device::ClusterFuncOp op, int num_replicas, int num_cores_per_replica,
        std::optional<xla::DeviceAssignmentProto>&& xla_device_assignment,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_list_attr.mlir

        %1:2 = tf_executor.island wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_FLOAT", value = dense<1.000000e+00> : tensor<10xf32>} : () -> tensor<10xf32> loc("const_1")
        tf_executor.fetch %1#0 : tensor<10xf32>
      }
      func.return %0 : tensor<10xf32>
    }
    
    // CHECK-DAG: name: "bar"
    func.func @bar() -> tensor<10xf32> {
      %0 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir

      %cst = arith.constant dense<0> : tensor<i32> loc("Const")
      %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
      func.return %0 : tensor<i1>
    }
    
    func.func @WhileOp_body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) {
      %cst = arith.constant dense<1> : tensor<i32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/tests/compute-cost.mlir

    // RUN: tac-opt-all-backends -tfl-compute-cost %s -split-input-file -verify-diagnostics | FileCheck %s
    
    // CHECK: tac.cost = 7.864320e+05
    func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} {
      %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:29:10 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/package.go

    func (pkg *Package) GoVersion() string { return pkg.goVersion }
    
    // Scope returns the (complete or incomplete) package scope
    // holding the objects declared at package level (TypeNames,
    // Consts, Vars, and Funcs).
    // For a nil pkg receiver, Scope returns the Universe scope.
    func (pkg *Package) Scope() *Scope {
    	if pkg != nil {
    		return pkg.scope
    	}
    	return Universe
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 06 13:09:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top