Home
last modified time | relevance | path

Searched refs:with_updates (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor_test.py1354 updated_st = st.with_updates(updates, validate=False)
1364 st_updated = st.with_updates(
1382 st.with_updates({("b", "x", "e"): 5})
1388 st.with_updates({("b", "c", "e"): 5})
1394 st.with_updates({("b", "d", "x"): lambda x: x + 1})
1398 st.with_updates({(): lambda x: x + 1})
1400 st.with_updates({("b", ""): lambda x: x + 1})
1406 st.with_updates({("b", "d"): lambda x: x + 1, "a": 3, "b": 10})
1427 st_with_shape.with_updates({("c", "a"): 3})
1432 updated_st = st.with_updates({("b", "c"): None}, validate=True)
[all …]
Dstructured_tensor.py274 def with_updates(self, member in StructuredTensor
512 return self.with_updates({new_path: new_field})