Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for identity_op (0.12 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpAddInput(op, b, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(a));
    
      return op;
    }
    
    TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "Identity", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      for (auto res : compilation_result) {
        // Build identity op with the same location/name as the original compilation
        // result op.
        result_id = builder->create<TF::IdentityOp>(
            res.getLoc(), compile_op->getResult(0).getType(),
            result_id->getResult(0));
        // Assign to same device as result is currently set, unless unset and then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    }
    
    // Trace the graph to find out the actual operation.
    Value getActualValue(Operation *op) {
      if (isa<TF::CastOp>(op)) {
        op = op->getOperand(0).getDefiningOp();
      }
    
      if (isa<TF::IdentityOp>(op)) {
        op = op->getOperand(0).getDefiningOp();
      }
      return op->getResult(0);
    }
    
    Value CreateXlaDotV2OpFromTfEinsumOp(OpBuilder &builder, Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top