Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 549 for getresuid (0.15 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

        rewriter.replaceAllUsesWith(filter_op->getResult(0),
                                    quantized_filter_constant_op.getResult());
    
        // Replace conv op with a new convolution op that has quantized output type.
        // Quantize -> Dequantize following r3.
        auto output_uniform_quantize_call_op = cast<func::CallOp>(
            *combined_scale_multiply_op.getResult().user_begin());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

               : recurrent_weights_array->getResult(1);
      Value recurrent_to_cell_weights =
          indy ? mlir::cast<Value>(
                     CreateFlattenOP(recurrent_weights_array->getResult(2),
                                     func_op.getLoc(), builder)
                         .getResult())
               : recurrent_weights_array->getResult(2);
      Value recurrent_to_output_weights =
          indy ? mlir::cast<Value>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc

        // Compute inverse of input transpose.
        llvm::SmallVector<int32_t> inverse_perm = InvertPermutation(perm_arr);
    
        if (tpose_arg.getResult().getType() != op->getResult(0).getType()) {
          // If types are not equal here than the transpose is taking place
          // before an implicit broadcast in the elementwise. We need
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc

        b.setInsertionPoint(op);
        if (auto dq = llvm::dyn_cast<quantfork::DequantizeCastOp>(op)) {
          auto dcast = b.create<DequantizeOp>(dq.getLoc(), dq.getResult().getType(),
                                              dq.getArg());
          dq.getResult().replaceAllUsesWith(dcast);
          if (auto extra_attr = op->getAttr(mlir::quant::kVolatileOpAttrName)) {
            dcast->setAttr(mlir::quant::kVolatileOpAttrName, extra_attr);
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 02:50:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      SmallVector<Value, 4> while_input_values;
      SmallVector<Type, 4> while_input_types;
      while_input_values.push_back(const_true.getResult());
      while_input_types.push_back(const_true.getResult().getType());
      for (int i = 1; i < reduce_dataset.getNumOperands(); ++i) {
        while_input_values.push_back(reduce_dataset.getOperand(i));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. pkg/ledger/ledger_test.go

    	l.Put("second", "value")
    	resultHashes[l.RootHash()] = true
    	getResult, err := l.Get("foo")
    	assert.NoError(t, err)
    	assert.Equal(t, getResult, "baz")
    	getResult, err = l.Get("second")
    	assert.NoError(t, err)
    	assert.Equal(t, getResult, "value")
    	getResult, err = l.GetPreviousValue(firstHash, "foo")
    	assert.NoError(t, err)
    	assert.Equal(t, getResult, "bar")
    	if len(resultHashes) != 3 {
    		t.Fatal("Encountered has collision")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 12 16:12:59 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

        op.setOperand(0, stb_op.getInput());
        op.getResult().setType(bts_op.getResult().getType());
      }
    
      if (final_op_is_bts) {
        if (bts_op.getInput().getDefiningOp<TF::PadOp>()) {
          bts_op.getResult().replaceAllUsesWith(pad_op.getInput());
        } else {
          bts_op.getResult().replaceAllUsesWith(bts_op.getInput());
        }
      }
    
      stb_op.getResult().dropAllUses();
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

                                    arith::ConstantOp op) const {
        for (auto connected_op : op.getResult().getUsers()) {
          auto cast_op = dyn_cast_or_null<CastOp>(connected_op);
          if (!cast_op || cast_op.getResult().use_empty()) continue;
    
          // Get types
          Type old_result_type = op.getResult().getType();
          ShapedType new_result_type =
              mlir::dyn_cast<ShapedType>(cast_op.getType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

        for (Operation* connected_op : op.getResult().getUsers()) {
          ConvertOp convert_op = dyn_cast_or_null<ConvertOp>(connected_op);
          // Skip if no convert op exists.
          if (!convert_op || convert_op.getResult().use_empty()) continue;
    
          // Get types.
          const Type old_result_type = op.getResult().getType();
          const ShapedType new_result_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

      } else if (!converter.isLegal(convert_op.getResult().getType())) {
        if (!convert_op.getResult().hasOneUse()) {
          return false;
        }
        auto other_convert_op = dyn_cast_or_null<OtherConvertOp>(
            *convert_op.getResult().getUsers().begin());
        return other_convert_op &&
               converter.isLegal(other_convert_op.getResult().getType());
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top