Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cond_false (0.24 sec)

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

          return node_def.op == 'PartitionedCall' and node_def.attr[
              'f'
          ].func.name.startswith('quantized_')
    
        for func in output_graphdef.library.function:
          if func.signature.name.startswith('cond_false'):
            self.assertTrue(
                any(map(_is_quantized_function_call_node, func.node_def))
            )
          elif func.signature.name.startswith('cond_true'):
            self.assertFalse(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

                   PatternRewriter& rewriter) const override {
        Value pred = op.getOperand(0);
        Value on_true = op.getOperand(1);
        Value on_false = op.getOperand(2);
        rewriter.replaceOpWithNewOp<TFL::SelectV2Op>(op, pred, on_true, on_false);
      }
    };
    
    // Rewrites quantized stablehlo.concatenate to tfl.concatenation.
    // TODO: b/322428814 - Add StableHLO quantizer integration tests for ODML.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top