Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for op_names (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          counted only if the ops are named 'op_name' and has 'attr_val' if
          'attr_name' is specified.
        """
        op_count = 0
        for op_name in op_names:
          # Check the main graph
          op_count += self._count_op_with_name_and_attribute(
              nodes=graphdef.node,
              op_name=op_name,
              attr_name=attr_name,
              attr_val=attr_val,
              get_op_name=get_op_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            op_state.operands[1] = shape_op;
          }
        }
      }
      if (op_name == "vhlo.reduce_v1" || op_name == "vhlo.reduce_window_v1" ||
          op_name == "vhlo.sort_v1" || op_name == "vhlo.scatter_v1") {
        op_state.addRegion();
      }
      if (op_name == "vhlo.while_v1") {
        op_state.addRegion();
        op_state.addRegion();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  4. pkg/controller/disruption/disruption_test.go

    		failOnce.Do(func() {
    			// (B) Evict two pods and fail this update.
    			evict(podNames[1], podNames[2])
    			handled = true
    			err = errors.NewConflict(a.GetResource().GroupResource(), pdb.Name, fmt.Errorf("conflict"))
    		})
    		return handled, obj, err
    	})
    
    	// (A) Delete one pod
    	if err := dc.coreClient.CoreV1().Pods("default").Delete(ctx, podNames[0], metav1.DeleteOptions{}); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        for (StringRef op_name : func_count_map.keys()) {
          const int32_t quantized_count = func_count_map[op_name].num_quant;
          const int32_t total_count =
              quantized_count + func_count_map[op_name].num_float;
          lines.push_back(absl::StrFormat("%s %d/%d",
                                          pad_string(op_name, name_col_width),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller.go

    	pods, err := ctrl.findPodsByPVCKey(pvcKey)
    	if err != nil {
    		return nil, err
    	}
    	podNames := []string{}
    	for _, pod := range pods {
    		if util.IsPodTerminated(pod, pod.Status) {
    			continue
    		}
    		if len(pod.Spec.NodeName) == 0 {
    			podNames = append(podNames, pod.Name)
    		}
    	}
    	return podNames, nil
    }
    
    // doDeleteVolume finds appropriate delete plugin and deletes given volume, returning
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

    }
    
    bool IsInSubgraph(const string& func_id) { return !func_id.empty(); }
    
    Status Encapsulator::CopySubgraphNodes(
        absl::flat_hash_map<const Node*, Node*>* node_images) {
      for (Node* node : graph_in_->op_nodes()) {
        string func_id;
        TF_RETURN_IF_ERROR(GetFunctionNameAttr(node, &func_id));
        if (!IsInSubgraph(func_id)) continue;
    
        Subgraph& subgraph = subgraphs_[func_id];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_windows.go

    	if r1 == socket_error {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func Getsockopt(s Handle, level int32, optname int32, optval *byte, optlen *int32) (err error) {
    	r1, _, e1 := Syscall6(procgetsockopt.Addr(), 5, uintptr(s), uintptr(level), uintptr(optname), uintptr(unsafe.Pointer(optval)), uintptr(unsafe.Pointer(optlen)), 0)
    	if r1 == socket_error {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      // Iterate over nodes in sorted order so that compiler fuel is deterministic.
      // We can't simply pass op_nodes().begin() and op_nodes().end() to the
      // std::vector constructor because they're not proper iterators, with
      // iterator_traits defined and so on.
      std::vector<Node*> sorted_nodes;
      for (Node* node : graph_->op_nodes()) {
        sorted_nodes.push_back(node);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

                                    PatternRewriter &rewriter) const override {
        Value result = op.getX();
        for (StringRef op_name : op.getOpNames().getAsValueRange<StringAttr>()) {
          std::string full_name = "tf." + op_name.str();
          // All ops in the sequences have the same result type as the original
          // result type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top