- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for identity_op (0.15 sec)
-
tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc
// isn't a composite op. The following ops are explicitly skipped here because // their "no-op" expansion is known to cause problems in some cases. static const char* kOpsToSkip[] = { "IdentityOp", "NoOp", // b/174596063 "OptionalHasValue", // b/173136483 "OptionalGetValue", // b/173136483 "VarHandleOp", // b/176819198 }; for (const char* skip : kOpsToSkip) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py
# CHECK: return %[[IDENTITY]]#1, %[[IDENTITY]]#0 def Test(): x = tf.constant(1.0, shape=(5, 3)) y = tf.constant(1.0, shape=(3, 5)) s = tf.matmul(x, y) t = tf.matmul(y, x) [t, s] = array_ops.identity_n([t, s]) tensor_info_x = tf.compat.v1.saved_model.utils.build_tensor_info(x) tensor_info_y = tf.compat.v1.saved_model.utils.build_tensor_info(y) tensor_info_s = tf.compat.v1.saved_model.utils.build_tensor_info(s)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc
return value.getDefiningOp(); } // TODO(b/158596585): Replace this with a cost model analysis. bool IsTrivialUnaryOperation(Operation* op) { return llvm::isa<TF::CastOp, TF::IdentityOp>(op); } // Adds outside compilation attributes to unary ops such as Identity/Cast ops // at the head of TPU computation that is used only by other outside compiled
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir
%val1 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32> func.return } // ----- // Test case: Basic converting. '_class' attribute is at IdentityOp. func.func @f() { // CHECK: "tf.VarHandleOp" // CHECK: "tf.ReadVariableOp" %val0 = "tf.VariableV2"() {container = "", device = "", shape = #tf_type.shape<96>, shared_name = ""} : () -> tensor<96x!tf_type.f32ref>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc
for (auto resource_user : resource_users_to_visit) { add_resource_op_to_list(resource_user); // Account for pass-through identity ops. if (auto pass_through_identity = llvm::dyn_cast<TF::IdentityOp>(resource_user)) { for (auto identity_user : pass_through_identity.getOutput().getUsers()) { new_resource_users.emplace_back(identity_user); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 17:41:12 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir
} } // ----- // Test that the @tf_quant_save's ops are cloned to @main. When there are no // __tf_file_prefix argument in @main, confirm that it is created and wired // to the newly created `IdentityOp`. module attributes {tf_saved_model.semantics} { func.func private @tf_quant__save(%arg: tensor<!tf_type.string>) -> () { tf_executor.graph {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
// Return a matmul op multiplying `a` by `b`. TFE_Op* MatMulOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b); // Return an identity op. TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a); // Return a shape op fetching the shape of `a`. TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 17 23:43:59 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/array_ops.cc
// backprop such that dx = g(dy). In Python, // // ```python // with tf.get_default_graph().gradient_override_map( // {'IdentityN': 'OverrideGradientWithG'}): // y, _ = identity_n([f(x), x]) // // @tf.RegisterGradient('OverrideGradientWithG') // def ApplyG(op, dy, _): // return [None, g(dy)] # Do not backprop to f(x). // ``` Status IdentityN(AbstractContext* ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 10 19:11:36 UTC 2022 - 6.7K bytes - Viewed (0)