Skip to content

Commit f80dacc

Browse files
authored
Merge pull request #93081 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/Microsoft/azure-docs (branch master)
2 parents 7f28fb9 + 7c9db70 commit f80dacc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

articles/active-directory/manage-apps/plan-an-application-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Each of your applications may have different authentication requirements. With A
7474
With Microsoft Azure AD Application Proxy, you can provide access to applications located inside your private network securely, from anywhere and on any device. After you have installed an application proxy connector within your environment, it can be easily configured with Azure AD.
7575

7676
### Integrating custom applications
77-
If you are writing a new application and want to assist developers in leveraging the power Azure AD, see [Guiding developers](../active-directory-applications-guiding-developers-for-lob-applications.md).
77+
If you are writing a new application and want to assist developers in leveraging the power of Azure AD, see [Guiding developers](../active-directory-applications-guiding-developers-for-lob-applications.md).
7878

7979
If you want to add your custom application to the Azure Application Gallery, see [“Bring your own app” with Azure AD Self-Service SAML configuration](https://cloudblogs.microsoft.com/enterprisemobility/2015/06/17/bring-your-own-app-with-azure-ad-self-service-saml-configuration-now-in-preview/).
8080

articles/aks/operator-best-practices-advanced-scheduler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ A good example is a web application that also uses an Azure Cache for Redis. You
175175
| webapp-1 | webapp-2 | webapp-3 |
176176
| cache-1 | cache-2 | cache-3 |
177177

178-
This example is a more complex deployment than the use of node selectors or node affinity. The deployment gives you control over how Kubernetes schedules pods on nodes and can logically isolate resources. For a complete example of this web application with Azure Cache for Redis example, see [Colocate pods on the same node][k8s-pod-affinity].
178+
This example is a more complex deployment than the use of node selectors or node affinity. The deployment gives you control over how Kubernetes schedules pods on nodes and can logically isolate resources. For a complete example of this web application with Azure Cache for Redis example, see [Co-locate pods on the same node][k8s-pod-affinity].
179179

180180
## Next steps
181181

articles/cognitive-services/Custom-Vision-Service/export-model-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ The downloaded zip file contains a model.pb and a labels.txt. These files repres
4444
import tensorflow as tf
4545
import os
4646

47-
graph_def = tf.GraphDef()
47+
graph_def = tf.compat.v1.GraphDef()
4848
labels = []
4949

5050
# These are set to the default names from exported models, update as needed.
5151
filename = "model.pb"
5252
labels_filename = "labels.txt"
5353

5454
# Import the TF graph
55-
with tf.gfile.GFile(filename, 'rb') as f:
55+
with tf.io.gfile.GFile(filename, 'rb') as f:
5656
graph_def.ParseFromString(f.read())
5757
tf.import_graph_def(graph_def, name='')
5858

@@ -112,7 +112,7 @@ augmented_image = resize_to_256_square(max_square_image)
112112

113113
```Python
114114
# Get the input size of the model
115-
with tf.Session() as sess:
115+
with tf.compat.v1.Session() as sess:
116116
input_tensor_shape = sess.graph.get_tensor_by_name('Placeholder:0').shape.as_list()
117117
network_input_size = input_tensor_shape[1]
118118

@@ -176,7 +176,7 @@ Once the image is prepared as a tensor, we can send it through the model for a p
176176
output_layer = 'loss:0'
177177
input_node = 'Placeholder:0'
178178

179-
with tf.Session() as sess:
179+
with tf.compat.v1.Session() as sess:
180180
try:
181181
prob_tensor = sess.graph.get_tensor_by_name(output_layer)
182182
predictions, = sess.run(prob_tensor, {input_node: [augmented_image] })

0 commit comments

Comments
 (0)