Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for vec (0.22 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    class QuantizeWeightsTest : public testing::Test {
     protected:
      QuantizeWeightsTest() {}
    
      void LoadBasicModel() {
        input_model_ = ReadTestModel();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go

    		Registerable: delegate,
    		delegate:     delegate,
    	}
    }
    
    func (v *TimingRatioHistogramVec) metrics() Registerables {
    	return Registerables{v}
    }
    
    // NewForLabelValuesChecked will return an error if this vec is not hidden and not yet registered
    // or there is a syntactic problem with the labelValues.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/kernels/xla_ops.cc

      return *func;
    }
    
    std::vector<int> VectorAttr(OpKernelConstruction* ctx,
                                absl::string_view attr_name) {
      std::vector<int> vec;
      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(), ctx->GetAttr(attr_name, &vec));
      return vec;
    }
    
    bool MustCompileAttr(OpKernelConstruction* ctx) {
      bool must_compile;
      OP_REQUIRES_OK_RETURN(ctx, false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      for (auto it = func.begin(); it != func.end(); ++it) ++num_ops;
      return num_ops;
    }
    
    std::vector<Value> ResultsAsVector(Operation* op) {
      std::vector<Value> vec;
      vec.reserve(op->getNumResults());
      for (auto res : op->getResults()) vec.push_back(res);
      return vec;
    }
    
    void SetBasicBlockAttributes(OpBuilder& builder, Operation* op) {
      op->setAttr(kDevice, builder.getStringAttr(""));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

      {
        llvm::SmallVector<DictionaryAttr, 8> tmp;
        func.getAllResultAttrs(tmp);
    
        for (const auto& res : tmp) {
          result_attrs.push_back(res.getValue().vec());
        }
      }
    
      mlir::Builder builder(func.getOperation());
    
      for (OpOperand& operand : fetch.getOperation()->getOpOperands()) {
        if (mlir::isa<tf_executor::ControlType>(operand.get().getType())) break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

            mlir::cast<quant::UniformQuantizedPerAxisType>(filter_state.params);
        std::vector<double> new_bias_scales = bias_quantized_type.getScales().vec();
        std::vector<double> new_filter_scales =
            filter_quantized_type.getScales().vec();
    
        bool needs_adjustment = false;
        for (int i = 0; i < bias_quantized_type.getScales().size(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    void VerifyQuantizationScale(
        const QuantizationParameters& float_quant_params,
        const QuantizationParametersT& quantized_quant_params, const int bit_num,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    	SYS_FUTIMES        = 77  // { int sys_futimes(int fd, const struct timeval *tptr); }
    	SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, char *vec); }
    	SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
    	SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
    	SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go

    	SYS_FUTIMES        = 77  // { int sys_futimes(int fd, const struct timeval *tptr); }
    	SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, char *vec); }
    	SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
    	SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
    	SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go

    	SYS_FUTIMES        = 77  // { int sys_futimes(int fd, const struct timeval *tptr); }
    	SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, char *vec); }
    	SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
    	SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
    	SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top