Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 187 for qint (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

      //
      // Returns `true` if successful. Returns `std::nullopt` otherwise.
      //
      // If the function signature changes, likely its corresponding .pyi type
      // hinting and definition should also change.
      // LINT.IfChange(save_exported_model)
      virtual std::optional<bool> SaveExportedModel(
          absl::string_view dst_saved_model_path,
          const ExportedModel& exported_model,
          absl::string_view src_saved_model_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/internal/byteorder/byteorder.go

    // Package byteorder provides functions for decoding and encoding
    // little and big endian integer types from/to byte slices.
    package byteorder
    
    func LeUint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/lower_quantized.mlir

    // RUN: tf-opt %s -test-tf-lower-tf | FILECHECK_OPTS="" FileCheck %s
    
    // CHECK-LABEL: dequantize
    func.func @dequantize(%arg0: tensor<2x3x!tf_type.qint8>, %min_range: tensor<f32>, %max_range: tensor<f32>) -> tensor<2x3xf32> {
      // CHECK-DAG: %[[HALF_RANGE:.*]] = "tf.Const"() <{value = dense<1.280000e+02> : tensor<f32>}>
      // CHECK-DAG: %[[C255:.*]] = "tf.Const"() <{value = dense<2.550000e+02> : tensor<f32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/internal/trace/batchcursor.go

    		i = m
    	}
    	return i
    }
    
    func min3(b []*batchCursor, i0, i1, i2 int) int {
    	minIdx := i0
    	minT := maxTime
    	if i0 < len(b) {
    		minT = b[i0].ev.time
    	}
    	if i1 < len(b) {
    		if t := b[i1].ev.time; t < minT {
    			minT = t
    			minIdx = i1
    		}
    	}
    	if i2 < len(b) {
    		if t := b[i2].ev.time; t < minT {
    			minT = t
    			minIdx = i2
    		}
    	}
    	return minIdx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. .github/workflows/reviewdog.yml

    name: reviewdog
    on: [pull_request]
    jobs:
      golangci-lint:
        name: runner / golangci-lint
        runs-on: ubuntu-latest
        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: golangci-lint
            uses: reviewdog/action-golangci-lint@v2
    
          - name: Setup reviewdog
            uses: reviewdog/action-setup@v1
    
          - name: gofumpt -s with reviewdog
            env:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 06:50:45 UTC 2023
    - 664 bytes
    - Viewed (0)
  6. common/scripts/lint_go.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    if [[ "${ARTIFACTS}" != "" ]]; then
      golangci-lint run -v -c ./common/config/.golangci.yml --out-format colored-line-number,junit-xml:"${ARTIFACTS}"/junit-lint.xml
    else
      golangci-lint run -v -c ./common/config/.golangci.yml
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 26 21:57:53 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    // This file contains descriptions of the various TensorFlow types. This is
    // used as a central place for enumerating the different types.
    
    #ifdef HANDLE_TF_TYPE
    
    //             class, enumerant, name
    HANDLE_TF_TYPE(Qint8, QINT8, "qint8")
    HANDLE_TF_TYPE(Qint16, QINT16, "qint16")
    HANDLE_TF_TYPE(Qint32, QINT32, "qint32")
    HANDLE_TF_TYPE(Quint8, QUINT8, "quint8")
    HANDLE_TF_TYPE(Quint16, QUINT16, "quint16")
    HANDLE_TF_TYPE(String, STRING, "string")
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.pyi

    # ==============================================================================
    
    # LINT.IfChange(savedmodel_to_stablehlo)
    def savedmodel_to_stablehlo(
        input_path: str,
        exported_model_signatures: list[str] = ["serving_default"],
        tag_names: list[str] = ["serve"],
        input_arg_shapes_str: str = "",
    ) -> bytes: ...
    # LINT.ThenChange()
    
    # LINT.IfChange(tensorflow_module_to_stablehlo)
    def tensorflow_module_to_stablehlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

              std::vector<std::string>{"serving_default"},
          py::arg("tag_names") = std::vector<std::string>{"serve"},
          py::arg("input_arg_shapes_str") = "");
      // LINT.ThenChange(pywrap_tensorflow_to_stablehlo.pyi:savedmodel_to_stablehlo)
      //
      // LINT.IfChange(tensorflow_module_to_stablehlo)
      m.def(
          "tensorflow_module_to_stablehlo",
          [](absl::string_view module_op_str,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

    /**
     * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
     * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
     * made the metadata source available with its original role hint ("maven") as well as the default hint.
     *
     */
    @Named
    @Singleton
    @Deprecated
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top