Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IsLegacyCallInstruction (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // an instruction with a different operation name. As such, this routine checks
    // both forms of a LegacyCall instruction. We only need to check for
    // mlir::TF::LegacyCallOp when the ticket is resolved.
    bool IsLegacyCallInstruction(mlir::Operation* inst);
    }  // namespace tensorflow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      // Note: we do not use NodeBuilder or NodeDefBuilder as that would require
      // mapping back from the inputs to the input arguments.
    
      llvm::SmallString<64> op_name;
      if (IsLegacyCallInstruction(inst)) {
        // The op_name is the name of the function.
        op_name.append(inst->getAttrOfType<mlir::SymbolRefAttr>("f")
                           .getLeafReference()
                           .getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

            // TODO(prakalps): If two functions have cyclic dependence, this will
            // introduce an infinite loop.
            TF_RETURN_IF_ERROR(convert_called_function(op_name.value().str()));
          }
    
          if (IsLegacyCallInstruction(&inner_op)) {
            TF_RETURN_IF_ERROR(convert_called_function(
                inner_op.getAttrOfType<mlir::SymbolRefAttr>("f")
                    .getLeafReference()
                    .getValue()));
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

            // TODO(prakalps): If two functions have cyclic dependence, this will
            // introduce an infinite loop.
            TF_RETURN_IF_ERROR(convert_called_function(op_name.value().str()));
          }
    
          if (IsLegacyCallInstruction(&inner_op)) {
            TF_RETURN_IF_ERROR(convert_called_function(
                inner_op.getAttrOfType<mlir::SymbolRefAttr>("f")
                    .getLeafReference()
                    .getValue()));
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top