Skip to content

Commit

Permalink
Apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhen8838 authored and github-actions[bot] committed Jan 13, 2025
1 parent 431de12 commit b53d073
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Canaan Inc. All rights reserved.
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.

using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Canaan Inc. All rights reserved.
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.

using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Canaan Inc. All rights reserved.
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.

using System;
Expand Down
4 changes: 2 additions & 2 deletions src/Nncase.Schedule/Schedule/TileGraph/GraphMCTS.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Canaan Inc. All rights reserved.
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.

using System.Collections;
Expand Down Expand Up @@ -33,7 +33,7 @@ public sealed class MCTState : IEnvironmentState<MergePoint>

private int _permformCount;

private TieredTileGraph _graph;
private readonly TieredTileGraph _graph;

Check failure on line 36 in src/Nncase.Schedule/Schedule/TileGraph/GraphMCTS.cs

View workflow job for this annotation

GitHub Actions / build-x86_64-linux

Readonly fields should appear before non-readonly fields (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1214.md)

Check failure on line 36 in src/Nncase.Schedule/Schedule/TileGraph/GraphMCTS.cs

View workflow job for this annotation

GitHub Actions / build-x86_64-linux

Readonly fields should appear before non-readonly fields (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1214.md)

Check failure on line 36 in src/Nncase.Schedule/Schedule/TileGraph/GraphMCTS.cs

View workflow job for this annotation

GitHub Actions / build-x86_64-linux

Readonly fields should appear before non-readonly fields (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1214.md)

public MCTState(TieredTileGraph graph, string moduleKind, string prefix, string searchPath, Dictionary<TileNode, GraphTiler.TiledFunc> solveMemo, ICpuTargetOptions targetOptions)
{
Expand Down

0 comments on commit b53d073

Please sign in to comment.