Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 861 for const3 (0.53 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[BARG1]], %[[CONST1]])
      %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  2. src/cmd/doc/pkg.go

    	constructor := make(map[*doc.Func]bool)
    	for _, typ := range docPkg.Types {
    		docPkg.Consts = append(docPkg.Consts, typ.Consts...)
    		docPkg.Vars = append(docPkg.Vars, typ.Vars...)
    		docPkg.Funcs = append(docPkg.Funcs, typ.Funcs...)
    		if isExported(typ.Name) {
    			for _, value := range typ.Consts {
    				typedValue[value] = true
    			}
    			for _, value := range typ.Vars {
    				typedValue[value] = true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/jit/build_xla_ops_pass.cc

    absl::StatusOr<Node*> ReplaceFunctionCallWithPartitionedCall(
        const GraphOptimizationPassOptions& options,
        const FunctionLibraryDefinition& flib_def, Node* n, Graph* g,
        const NameAttrList& func, const Scope& root) {
      string config_string = options.session_options->config.SerializeAsString();
    
      int input_count = absl::c_count_if(
          n->in_edges(), [](const Edge* e) { return !e->IsControlEdge(); });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

    // 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: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/writebarrier.go

    	}
    
    	// Number of write buffer entries we can request at once.
    	// Must match runtime/mwbbuf.go:wbMaxEntriesPerCall.
    	// It must also match the number of instances of runtime.gcWriteBarrier{X}.
    	const maxEntries = 8
    
    	var sb, sp, wbaddr, const0 *Value
    	var cgoCheckPtrWrite, cgoCheckMemmove *obj.LSym
    	var wbZero, wbMove *obj.LSym
    	var stores, after []*Value
    	var sset, sset2 *sparseSet
    	var storeNumber []int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm.mlir

    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 1, 4 ],
    // CHECK-NEXT:       name: "Const",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    // CHECK-NEXT:       is_variable: true,
    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 1, 4 ],
    // CHECK-NEXT:       name: "Const1",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_asym_attr.mlir

    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 1, 4 ],
    // CHECK-NEXT:       name: "Const",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    // CHECK-NEXT:       is_variable: true,
    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 1, 4 ],
    // CHECK-NEXT:       name: "Const1",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top