Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 345 for setLoc (0.23 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      for (Value result : subgraph.FuncOutputs()) {
        Value cloned_output = values_in_scope.lookup(result);
        return_operands.push_back(cloned_output);
      }
      function_builder.create<mlir::func::ReturnOp>(new_func.getLoc(),
                                                    return_operands);
      ops_added.func_op = new_func;
      module.push_back(new_func);
      return new_func;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

      std::unique_ptr<llvm::MemoryBuffer> mem_buffer;
      llvm::StringRef quantized_function_library =
          GetFunctionLibrary(quantization_method_, op_set_);
    
      if (quantized_function_library.empty()) {
        emitError(module.getLoc())
            << "Failed to get function library for the opset.";
        signalPassFailure();
        return;
      }
    
      mem_buffer =
          llvm::MemoryBuffer::getMemBuffer(quantized_function_library,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      builder_.setInsertionPointAfter(op);
      const Value original_result = op->getResult(result_index);
      QuantizeValue(original_result, quantized_type, op->getLoc());
    }
    
    void QuantizationDriver::QuantizeArg(BlockArgument arg,
                                         const QuantizedType quantized_type) {
      builder_.setInsertionPointToStart(arg.getOwner());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

        indices_type = RankedTensorType::get(new_start_indices_shape,
                                             indices_type.getElementType());
        indices = rewriter.create<mhlo::ReshapeOp>(parent_op->getLoc(),
                                                   indices_type, indices);
      } else if (index_vector_dim != indices_type.getRank() - 1) {
        // If index_vector_dim isn't the last dimension in indices then it isn't
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/runtime/signal_freebsd_arm.go

    func (c *sigctxt) oldmask() uint32 { return 0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info.si_addr) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[14] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. src/runtime/signal_linux_arm.go

    func (c *sigctxt) oldmask() uint32 { return c.regs().oldmask }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().pc = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().sp = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().lr = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().r10 = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                                                        TypeRange(types), result);
          new_forward_ops.insert(replicated_output);
          // TODO(bfontain): Check for other attributes.
          replicated_output->setAttr(kDevice, builder.getStringAttr(""));
          TF::TPUReplicatedInputOp input = builder.create<TF::TPUReplicatedInputOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        // Create the TF op
        OperationState op_state(op.getLoc(), tf_op_full_name);
        op_state.addOperands(op.getOperands());
        op_state.addTypes(op.getResultTypes());
    
        SmallVector<NamedAttribute, 2> attrs;
        std::string parsed_op_name;
        tensorflow::NodeDef node_def;
        if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(),
                                     parsed_op_name, attrs, node_def))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/runtime/signal_netbsd_arm.go

    func (c *sigctxt) oldmask() uint32 { return 0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info._code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info._reason) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[_REG_R15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[_REG_R13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[_REG_R14] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top