Skip to content

Commit 639655b

Browse files
committed
Some more doc work
1 parent c9fd500 commit 639655b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2592
-1615
lines changed

Examples/ExampleInceptionInference/ExampleInceptionInference.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>ExampleInceptionInference</RootNamespace>
99
<AssemblyName>ExampleInceptionInference</AssemblyName>
1010
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>

Examples/FExampleInceptionInference/FSharpExampleInceptionInference.fsproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>FExampleInceptionInference</RootNamespace>
99
<AssemblyName>FExampleInceptionInference</AssemblyName>
1010
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>
@@ -58,9 +59,9 @@
5859
<MonoDevelop>
5960
<Properties>
6061
<Policies>
61-
<TextStylePolicy FileWidth="120" TabWidth="4" IndentWidth="4" RemoveTrailingWhitespace="True" NoTabsAfterNonTabs="False" EolMarker="Native" TabsToSpaces="True" scope="text/x-fsharp" />
62+
<TextStylePolicy TabWidth="4" TabsToSpaces="True" IndentWidth="4" RemoveTrailingWhitespace="True" NoTabsAfterNonTabs="False" EolMarker="Native" FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-fsharp" />
6263
<FSharpFormattingPolicy scope="text/x-fsharp">
63-
<DefaultFormat IndentOnTryWith="False" ReorderOpenDeclaration="False" SpaceAfterComma="True" SpaceAfterSemicolon="True" SpaceAroundDelimiter="True" SpaceBeforeArgument="True" SpaceBeforeColon="True" __added="0" />
64+
<DefaultFormat IndentOnTryWith="False" ReorderOpenDeclaration="False" SpaceAfterComma="True" SpaceAfterSemicolon="True" SpaceAroundDelimiter="True" SpaceBeforeArgument="True" SpaceBeforeColon="True" />
6465
</FSharpFormattingPolicy>
6566
</Policies>
6667
</Properties>

Examples/ImageCompression/ImageCompression.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>ImageCompression</RootNamespace>
99
<AssemblyName>ImageCompression</AssemblyName>
1010
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>

Learn/Learn.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>Learn</RootNamespace>
99
<AssemblyName>Learn</AssemblyName>
1010
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
rebuild-docs: docs/template
33
mdoc export-html -o docs --template=docs/template ecmadocs/en/
44

5-
// Used to fetch XML doc updates from the C# compiler into the ECMA docs
5+
# Used to fetch XML doc updates from the C# compiler into the ECMA docs
66
doc-update:
7-
mdoc update -i TensorFlowSharp/bin/Debug/TensorFlowSharp.xml -o docs/en TensorFlowSharp/bin/Debug/TensorFlowSharp.dll
7+
mdoc update -i TensorFlowSharp/bin/Debug/TensorFlowSharp.xml -o ecmadocs/en TensorFlowSharp/bin/Debug/TensorFlowSharp.dll

OpGenerator/OpGenerator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>OpGenerator</RootNamespace>
99
<AssemblyName>OpGenerator</AssemblyName>
1010
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>

SampleTest/SampleTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//
2+
// This is just a dumping ground to exercise different capabilities
3+
// of the API. Some idioms might be useful, some not, feel free to
4+
//
5+
//
16
using System;
27
using System.Runtime.CompilerServices;
38
using System.Runtime.InteropServices;

SampleTest/SampleTest.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>SampleTest</RootNamespace>
99
<AssemblyName>SampleTest</AssemblyName>
1010
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<ReleaseVersion>0.2</ReleaseVersion>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1314
<DebugSymbols>true</DebugSymbols>

TensorFlowSharp.sln

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,29 +61,15 @@ Global
6161
Policies = $0
6262
$0.DotNetNamingPolicy = $1
6363
$1.DirectoryNamespaceAssociation = PrefixedHierarchical
64+
$1.ResourceNamePolicy = FileFormatDefault
6465
$0.TextStylePolicy = $2
65-
$2.FileWidth = 80
66-
$2.TabWidth = 8
67-
$2.IndentWidth = 8
6866
$2.scope = text/x-csharp
67+
$2.inheritsSet = Mono
68+
$2.inheritsScope = text/plain
6969
$0.CSharpFormattingPolicy = $3
70-
$3.IndentSwitchSection = False
71-
$3.NewLinesForBracesInProperties = False
72-
$3.NewLinesForBracesInAccessors = False
73-
$3.NewLinesForBracesInAnonymousMethods = False
74-
$3.NewLinesForBracesInControlBlocks = False
75-
$3.NewLinesForBracesInAnonymousTypes = False
76-
$3.NewLinesForBracesInObjectCollectionArrayInitializers = False
77-
$3.NewLinesForBracesInLambdaExpressionBody = False
78-
$3.NewLineForElse = False
79-
$3.NewLineForCatch = False
80-
$3.NewLineForFinally = False
81-
$3.NewLineForMembersInObjectInit = False
82-
$3.NewLineForMembersInAnonymousTypes = False
83-
$3.NewLineForClausesInQuery = False
84-
$3.SpacingAfterMethodDeclarationName = True
85-
$3.SpaceAfterMethodCallName = True
86-
$3.SpaceBeforeOpenSquareBracket = True
8770
$3.scope = text/x-csharp
71+
$3.inheritsSet = Mono
72+
$3.inheritsScope = text/x-csharp
73+
version = 0.2
8874
EndGlobalSection
8975
EndGlobal

TensorFlowSharp/Buffer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal struct LLBuffer
2020
}
2121

2222
/// <summary>
23-
/// Holds a block of data.
23+
/// Holds a block of data, suitable to pass, or retrieve from TensorFlow.
2424
/// </summary>
2525
/// <remarks>
2626
/// Use the TFBuffer to blobs of data into TensorFlow, or to retrieve blocks

0 commit comments

Comments
 (0)