Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 193 for Quantile (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

              &q_builder, input_model, quantized_type, use_updated_hybrid_scheme,
              ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) {
        return absl::InvalidArgumentError(
            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/get-alternative-subgraph.mlir

    // CHECK:           %[[VAL_20:.*]] = "tfl.quantize"(%[[VAL_19]]) <{qtype = tensor<1x384x128x!quant.uniform<i8:f32, 3.000000e-01:-3>>}> {tac.device = "GPU", tac.inference_type = "FLOAT"} : (tensor<1x384x128xf32>) -> tensor<1x384x128x!quant.uniform<i8:f32, 3.000000e-01:-3>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/optimize_batch_matmul.mlir

    // CHECK-NOT: "tfl.batch_matmul"
    func.func @Batchmatmul2FullyconnectedQDQ(%arg0: tensor<4x128x2xf32>, %arg1: tensor<2x1xf32>) -> (tensor<4x128x1xf32>) {
      %0 = arith.constant dense<[[1.0], [2.0]]> : tensor<2x1xf32>
      %1 = "tfl.quantize"(%0) {qtype = tensor<2x1x!quant.uniform<i8:f32, 0.024986599940879671:92>>} : (tensor<2x1xf32>) -> tensor<2x1x!quant.uniform<i8:f32, 0.024986599940879671:92>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions_with_quantization_specs.mlir

    func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x2xf32> {
      %0 = stablehlo.add %arg0, %arg0 : tensor<1x2xf32>
      return %0 : tensor<1x2xf32>
    }
    // Tests that `composite_add_fn_1` does not quantize when quantizing
    // only compute-heavy ops.
    
    // STATIC-RANGE-PTQ-TO-COMPUTE-HEAVY: %[[CONST:.+]] = stablehlo.constant dense<2.000000e+00>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 18:09:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/passes.h

        bool enable_dynamic_update_slice);
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLowerStaticTensorListPass();
    
    // Creates an instance of the TensorFlow Lite dialect Quantize pass.
    // Use quant_specs.ops_blocklist and quant_specs.nodes_blocklist if possible
    // as they are now structure variables of QuantizationSpecs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

        // quantized_tensor_data.pb.
        // Since this process doesn't happen for per layer, we need to set file_name
        // as quantized_tensor_data.pb here.
        // TODO: b/296933893 - Refactor the debugger code when no quantize option
        // is added
        std::string file_name =
            debugger_type_ == DebuggerConfig::DEBUGGER_TYPE_WHOLE_MODEL
                ? "unquantized_tensor_data.pb"
                : "quantized_tensor_data.pb";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    def Quantization_ReturnOp : Quantization_Op<"return", [Terminator]> {
      let summary = [{
        The `return` operation terminates a quantize region and returns values.
      }];
    
      let arguments = (ins Variadic<AnyTensor>:$results);
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/log/log_test.go

    	}
    }
    
    func TestUTCFlag(t *testing.T) {
    	var b strings.Builder
    	l := New(&b, "Test:", LstdFlags)
    	l.SetFlags(Ldate | Ltime | LUTC)
    	// Verify a log message looks right in the right time zone. Quantize to the second only.
    	now := time.Now().UTC()
    	l.Print("hello")
    	want := fmt.Sprintf("Test:%d/%.2d/%.2d %.2d:%.2d:%.2d hello\n",
    		now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 20:04:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/compile.cc

    #include "absl/base/call_once.h"
    #include "llvm-c/Target.h"
    #include "llvm/Support/ManagedStatic.h"
    #include "tensorflow/compiler/aot/codegen.h"
    #include "tensorflow/compiler/aot/flags.h"
    #include "tensorflow/compiler/aot/quantize.h"
    #include "tensorflow/compiler/tf2xla/tf2xla.h"
    #include "tensorflow/compiler/tf2xla/tf2xla_util.h"
    #include "xla/client/client_library.h"
    #include "xla/client/compile_only_client.h"
    #include "xla/client/xla_computation.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

          func.return %add : tensor<3x2xf32>
        }
      }
    )mlir";
    
    // Quantizable ops: XlaCallModule op with "fully_quantizable" attribute and
    // same-scale StableHLO ops
    // Non-quantizable ops: quantize/dequantize ops
    constexpr absl::string_view kModuleCompositeSameScale = R"mlir(
      module {
        func.func @same_scale_after_composite() -> tensor<3x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top