Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,266 for const3 (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    		var cost uint64
    		if len(args) > 0 {
    			cost += traversalCost(args[0]) // these O(n) operations all cost roughly the cost of a single traversal
    		}
    		return &cost
    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      }
    
      Status ExtractOutsideCompilationTest(
          const string &xla_cluster_attr_name,
          const string &outside_compilation_attr_name,
          const string &xla_cluster_name, const NameAttrList &func_name_attrs,
          const string &new_func_name, const string &host_graph_func_name,
          const std::map<string, int> &host_compute_core,
          FunctionLibraryDefinition *fld,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

      %0 = "tfl.pseudo_const" () {value = dense<[[1, 2], [3, 4], [5, 6]]> : tensor<3x2xi32>} : () -> tensor<3x2xi32> loc("Const")
      %1 = "tfl.sub" (%arg0, %0) {fused_activation_function = "RELU6"} : (tensor<3x2xi32>, tensor<3x2xi32>) -> tensor<3x2xi32> loc("sub")
      %2 = "arith.constant" () {value = dense<10> : tensor<i32>} : () -> tensor<i32> loc("Const2")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output const0 = ops::Const(root.WithOpName("const0"), 1);
      Output const1 = ops::Const(root.WithOpName("const1"), 2);
    
      Output add = ops::Add(root.WithOpName("add"), const0, const1);
    
      root.graph()->AddControlEdge(id0.node(), const0.node());
      root.graph()->AddControlEdge(id1.node(), const1.node());
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K 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/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)
  8. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      // done in parallel.
      //
      // This graph is:
      // (Const0, Const0) -> MatMul0
      // (Const1, Const1) -> MatMul1
      // (MatMul0, MatMul1) -> MatMulCombined
      //
      // Device0: [Const0, Const0, MatMul0]
      // Device1: [Const1, Const1, MatMul1, MatMulCombined]
      //
      // Cluster0: [Const0, Const0, MatMul0]
      // Cluster1: [Const1, Const1, MatMul1]
      // Cluster2: [MatMulCombined]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir

    // COM: CHECK-DAG: %[[CONST:.*]] = stablehlo.constant dense<{{.*}}> : tensor<1x1x2x8xf32>
    // COM: CHECK: return %[[CONST]] : tensor<1x1x2x8xf32>
    
    func.func @fused_batchnorm_no_training_arg_input(%arg_0: tensor<1x1x2x8xf32>) -> (tensor<1x1x2x8xf32>) {
      %cst_0 = "tf.Const"() {value = dense<[0.1, 0.2, 0.1, 0.2, 0.1, 0.2, 0.1, 0.2]> : tensor<8xf32>} : () -> tensor<8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top