Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 129 for getFlow (0.16 sec)

  1. tensorflow/compiler/mlir/python/mlir_wrapper/basic_classes.cc

               py::return_value_policy::reference)
          .def("end", &mlir::Block::end)
          .def("addArgument", [](mlir::Block& block, mlir::Type type) {
            return block.addArgument(type, block.getParent()->getLoc());
          });
    
      py::class_<mlir::Value>(m, "Value").def("getType", &mlir::Value::getType);
      py::class_<mlir::OpResult, mlir::Value>(m, "OpResult");
      py::class_<mlir::BlockArgument, mlir::Value>(m, "BlockArgument");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 22 04:26:07 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

         * @return the isLoggedInAsGuest
         */
        public final boolean isLoggedInAsGuest () {
            return this.isLoggedInAsGuest;
        }
    
    
        /**
         * @return the blob
         */
        public final byte[] getBlob () {
            return this.blob;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

        ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names) {
      SymbolTableCollection symbol_table;
      OpBuilder builder(module.getContext());
    
      OwningOpRef<ModuleOp> pruned =
          builder.create<ModuleOp>(module->getLoc());
      (*pruned)->setAttrs(module->getAttrs());
      builder.setInsertionPointToEnd(pruned->getBody());
    
      llvm::SmallDenseSet<func::FuncOp> added;
      for (const llvm::StringRef function_name : function_names) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc

      if (!llvm::hasSingleElement(func)) {
        LLVM_DEBUG(llvm::dbgs() << "Expect single block function, skip conversion "
                                   "to tf_executor dialect\n");
        return;
      }
      auto loc = func.getLoc();
      mlir::Block& body = func.front();
      // Find region of interest and ReturnOp.
      auto copy_range = body.without_terminator();
      if (copy_range.begin() != copy_range.end() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

      // In some cases the shared_name attribute doesn't have the same
      // tensor name in the model, so we first try to use the location
      // then fallback to shared_name attribute.
      if (auto loc = mlir::dyn_cast<NameLoc>(var_handle_op->getLoc()))
        return loc.getName().str();
      return var_handle_op.getSharedName().str();
    }
    
    std::vector<std::string> GetVariableNames(
        llvm::ArrayRef<TF::VarHandleOp> var_handle_ops) {
      std::vector<std::string> names;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

        ++dim;
      }
    
      auto permutation_and_shape = GetPermutationAndTransposedShape(
          permutation_array, updates_type, rewriter);
    
      auto transposed_updates = rewriter.create<mhlo::TransposeOp>(
          scatter_op->getLoc(), permutation_and_shape.shape, updates,
          permutation_and_shape.permutation);
    
      updates = transposed_updates;
      updates_type = permutation_and_shape.shape;
      return success();
    }
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/name_anonymous_iterators.cc

    };
    
    template <typename OP>
    int replace(OP op, int count) {
      OpBuilder builder(op);
      std::string name = absl::StrFormat("_iterator%d", count++);
    
      auto new_op = builder.create<TF::IteratorOp>(
          op->getLoc(), op->getResultTypes()[0], name, /*container=*/"",
          op.getOutputTypes(), op.getOutputShapes());
      op->getResults()[0].replaceAllUsesWith(new_op->getResults()[0]);
      if (op->use_empty()) op->erase();
      return count;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op_test.cc

      context.loadDialect<TF::TensorFlowDialect, quant::QuantizationDialect,
                          func::FuncDialect>();
      EmptyPatternRewriter pattern_rewriter(builder);
      Value value = CreateConstValue<float>(builder, module->getLoc(), {1024, 2},
                                            SmallVector<float>(2048, 0));
    
      QuantizationComponentSpec quant_spec;
      quant_spec.set_quantization_component(
          QuantizationComponentSpec::COMPONENT_WEIGHT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

      ModuleOp module = getOperation();
      module.walk([&](tf_device::LaunchFuncOp launch) {
        OpBuilder builder(launch);
        auto call_op = builder.create<TF::PartitionedCallOp>(
            module.getLoc(), launch.getResultTypes(), launch.getOperands(),
            SymbolRefAttr::get(builder.getContext(), launch.getFunc()),
            /*config=*/builder.getStringAttr(""),
            /*config_proto=*/builder.getStringAttr(""),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

                                                    .cast<quant::QuantizedType>()
                                                    .getStorageType());
            auto new_op = builder.create<TFR::CastOp>(
                returned_op->getLoc(), new_type, returned_op.getArg());
            returned_value.set(new_op.getResult());
            if (returned_op.use_empty()) {
              returned_op.erase();
            }
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top