Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for in_scale (0.33 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

    // CHECK-DAG: %[[w0_quantized:.*]] = "tf.Const"() <{value = dense<{{\[\[\[\[}}-42, 18
    // CHECK-DAG: %[[in_scale:.*]] = "tf.Const"() <{value = dense<0.0039215642> : tensor<f32>}> : () -> tensor<f32>
    // CHECK-DAG: %[[in_out_zp:.*]] = "tf.Const"() <{value = dense<-128> : tensor<i32>}> : () -> tensor<i32>
    // CHECK-DAG: %[[w0_scale:.*]] = "tf.Const"() <{value = dense<0.0150353173> : tensor<f32>}> : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

          failed(AddFloatAttr(func, attrs, "nms_iou_threshold", &fbb)) ||
          failed(AddFloatAttr(func, attrs, "y_scale", &fbb)) ||
          failed(AddFloatAttr(func, attrs, "x_scale", &fbb)) ||
          failed(AddFloatAttr(func, attrs, "h_scale", &fbb)) ||
          failed(AddFloatAttr(func, attrs, "w_scale", &fbb)))
        return failure();
      auto use_regular_nms =
          mlir::dyn_cast_or_null<BoolAttr>(attrs.get("use_regular_nms"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/utils.h

      std::vector<int64_t> in_shape{input_type.getShape().vec()};
      std::vector<int64_t> out_shape{output_type.getShape().vec()};
    
      // If the reshape changes the number of dimensions so it cannot be interpreted
      // as a transpose.
      if (in_shape.size() != out_shape.size()) {
        return false;
      }
    
      in_shape.erase(std::remove(in_shape.begin(), in_shape.end(), 1),
                     in_shape.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      %0 = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/index.md

    Usá-lo em seu editor é o que realmente te mostra os benefícios do FastAPI, ver quão pouco código você tem que escrever, todas as conferências de tipo, auto completações etc.
    
    ---
    
    ## Instale o FastAPI
    
    O primeiro passo é instalar o FastAPI.
    
    Para o tutorial, você deve querer instalá-lo com todas as dependências e recursos opicionais.
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-forms-and-files.md

    # Formulários e Arquivos da Requisição
    
    Você pode definir arquivos e campos de formulário ao mesmo tempo usando `File` e `Form`.
    
    !!! info "Informação"
        Para receber arquivos carregados e/ou dados de formulário, primeiro instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        Por exemplo: `pip install python-multipart`.
    
    
    ## Importe `File` e `Form`
    
    ```Python hl_lines="1"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // perfectly with the specified min/max. Nudge them into the right range.
        auto min_scaled =
            rewriter.create<DivOp>(op.getLoc(), float_min, quant_to_float);
        auto min_scaled_sub =
            rewriter.create<SubOp>(op.getLoc(), quant_min, min_scaled);
    
        auto mid_rounded =
            rewriter.create<RoundOp>(op.getLoc(), scalar_ty, min_scaled_sub);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

      let touchid = null;    // Current touch identifier
    
      // State needed for pinch zooming
      let touchid2 = null;     // Second id for pinch zooming
      let initGap = 1.0;       // Starting gap between two touches
      let initScale = 1.0;     // currentScale when pinch zoom started
      let centerPoint = null;  // Center point for scaling
    
      // Convert event coordinates to svg coordinates.
      function toSvg(x, y) {
        const p = svg.createSVGPoint();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        ```
      }];
    
      let arguments = (ins
          F32:$out_scale,
          TFR_TensorListType:$in_scales);
    
      let results = (outs TFR_TensorType:$scale_factor);
    
      let assemblyFormat = [{
        `(` $out_scale `,` $in_scales `)` attr-dict `:` functional-type(operands, results)
      }];
    
      let hasCanonicalizer = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-forms.md

    # Dados do formulário
    
    Quando você precisar receber campos de formulário ao invés de JSON, você pode usar `Form`.
    
    !!! info "Informação"
        Para usar formulários, primeiro instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        Ex: `pip install python-multipart`.
    
    ## Importe `Form`
    
    Importe `Form` de `fastapi`:
    
    ```Python hl_lines="1"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top