Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetNumInputs (2.78 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc

                  "contain 'host_func' function.";
    
      if (op->getNumOperands() != func.getFunctionType().getNumInputs())
        return op.emitError()
               << "'host_func' has " << func.getFunctionType().getNumInputs()
               << " inputs and '_XlaHostComputeMlir' has " << op->getNumOperands()
               << " operands.  Number of operands/inputs should be the same.";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 20:05:58 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc

      // TODO(jpienaar): Expand to support inputs.
      mlir::func::FuncOp main = module->lookupSymbol<mlir::func::FuncOp>("main");
      QCHECK(main) << "No 'main' function specified.";
      if (main.getFunctionType().getNumInputs() != 0)
        LOG(QFATAL) << "NYI: Only nullary functions supported.";
    
      // Convert to flatbuffer.
      std::string serialized_flatbuffer;
      tflite::FlatbufferExportOptions options;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

      virtual llvm::StringRef GetCompositeOpName() { return kLstmCellSimple; }
    
      // Rewrite the func body with constructed fused lstm.
      LogicalResult RewriteFunc();
    
      int GetNumInputs() { return n_input_; }
    
     protected:
      // verify input func op arguments/attributes and initialize internal state.
      virtual LogicalResult InitializeFromFuncAttributes();
      virtual LogicalResult Initialize();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top