Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for diagonal (0.21 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

          Pat<(TF_MatrixSetDiagV2Op $input, $diagonal,
                (Arith_ConstantOp ConstantAttr<I32ElementsAttr, "{0}">)),
              (TF_MatrixSetDiagOp $input, $diagonal)>;
    
    // `align` attribute can be ignored because we only support converting
    // `MatrixSetDiagV3` to `MatrixSetDiag` with default `k` inputs.
    def ConvertMatrixSetDiagV3ToMatrixSetDiag :
          Pat<(TF_MatrixSetDiagV3Op $input, $diagonal,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. src/image/gif/writer_test.go

    		var buf bytes.Buffer
    		if err := Encode(&buf, src, nil); err != nil {
    			t.Errorf("gray-diagonal: Encode: %v", err)
    			return
    		}
    		m, err := Decode(&buf)
    		if err != nil {
    			t.Errorf("gray-diagonal: Decode: %v", err)
    			return
    		}
    		if got, want := m.Bounds(), image.Rect(0, 0, 6, 6); got != want {
    			t.Errorf("gray-diagonal: got %v, want %v", got, want)
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

      (TFL_NonMaxSuppressionV5Op $boxes, $scores, $max_output_size, $iou_threshold,
        $score_threshold, $soft_nms_sigma)>;
    
    def LegalizeMatrixDiag : Pat<(TF_MatrixDiagOp $diagonal),
                                 (TFL_MatrixDiagOp $diagonal)>;
    
    def LegalizeConv2DBackpropInput : Pat<
      (TF_Conv2DBackpropInputOp $input_sizes, $filter, $out_backprop,
         IsIntList1XY1:$strides,
         BoolAttr:$use_cudnn_on_gpu,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      // LSTM `func::FuncOps` with indy behavior always have the `tf.api_implements`
      // function attribute prefixed with `"indy_lstm_"`.
      // IndyLSTMs have diagonal recurrent weight matrices and can benefit from
      // more efficent operations in TFLite with the correct conversion (i.e. when
      // the diagonal recurrent weight matrices are provided as vectors).
      if (attr.getValue().starts_with("indy_lstm_")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

                                         &recurrent_weights_array)))
        return failure();
    
      // Reshape recurrent weights to vectors if indy behaviour is enabled.
      // IndyLSTMs are a LSTM variant with diagonal recurrent weight
      // matrices. For optimization purposes these are provided as vectors.
      Value recurrent_to_input_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)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      return success();
    }
    
    // MatrixDiagV3 is MatrixDiagV2 with an alignment attribute. This attribute
    // only has effects when processing multiple diagonals. Since TFLite converts
    // MatrixDiagV{2,3} to MatrixDiag, which only takes single-diagonal inputs, we
    // can safely ignore this V3 attribute.
    // We can't pass `rewriter` by reference because clang-tidy will want it to be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top