Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for setLoc (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

            req_op.getLoc(), func_op.getResultTypes()[0], req_op.getOperand());
        if (func_name.contains("_relu6_")) {
          auto min = rewriter.create<mlir::stablehlo::ConstantOp>(
              req_op.getLoc(), rewriter.getF32FloatAttr(0));
          auto max = rewriter.create<mlir::stablehlo::ConstantOp>(
              req_op.getLoc(), rewriter.getF32FloatAttr(6));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      auto erf_op = rewriter.create<chlo::ErfOp>(mul_op.getLoc(), mul_op);
      auto add_op =
          rewriter.create<stablehlo::AddOp>(erf_op.getLoc(), erf_op, one_cst);
      auto lhs_mul_op = rewriter.create<stablehlo::MulOp>(
          half_cst.getLoc(), new_func.getArguments()[0], half_cst);
      auto output_mul_op = rewriter.create<stablehlo::MulOp>(lhs_mul_op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/runtime/export_debug_arm64_test.go

    	olr := *(*uint64)(unsafe.Pointer(uintptr(sp)))
    	ctxt.set_lr(olr)
    	pc := ctxt.pc()
    	ctxt.set_pc(pc + 4) // step to next instruction
    }
    
    // case 2
    func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+8), 2*goarch.PtrSize)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 8
    func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/export_debug_ppc64le_test.go

    	olr := *(*uint64)(unsafe.Pointer(uintptr(sp)))
    	ctxt.set_link(olr)
    	pc := ctxt.pc()
    	ctxt.set_pc(pc + 4) // step to next instruction
    }
    
    // case 2
    func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+32), 2*goarch.PtrSize)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 8
    func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

          auto tf_reduce_op = rewriter.create<BooleanReduce>(
              reduce_op.getLoc(), reduce_op->getResult(0).getType(), operand,
              reduction_indices,
              /*keep_dim=*/rewriter.getBoolAttr(false));
          auto tf_argreduce_op = rewriter.create<ArgReduce>(
              reduce_op.getLoc(), reduce_op->getResult(1).getType(), operand,
              reduction_indices);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

          OpBuilder builder(op);
          Operation* load = builder.create<mlir::ml_program::GlobalLoadOp>(
              op.getLoc(), globalOp.getType(),
              SymbolRefAttr::get(op->getContext(), globalOp.getSymName()));
          if (globalOp.getType() != op.getValue().getType()) {
            load = builder.create<TF::CastOp>(op.getLoc(), op.getValue().getType(),
                                              load->getResult(0));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      builder.insert(var_handle_op_in_init);
      auto const_op = builder.create<mlir::arith::ConstantOp>(
          session_init_func.getLoc(), tensor_attr.getType(), tensor_attr);
    
      builder.create<TF::AssignVariableOp>(
          session_init_func.getLoc(), llvm::ArrayRef<mlir::Type>{},
          llvm::ArrayRef<mlir::Value>{var_handle_op_in_init->getResult(0),
                                      const_op.getResult()});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc

        ArrayRef<Value> args;
        builder.create<func::CallOp>(session_initializer.getLoc(),
                                     func.getFunctionType().getResults(),
                                     func.getSymName(), args);
      }
      builder.create<func::ReturnOp>(session_initializer.getLoc());
    
      session_initializer.erase();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        Type output_type = bmm_op.getResult().getType();
        auto no_input = rewriter.create<TFL::NoValueOp>(
            bmm_op->getLoc(), rewriter.getNoneType(), rewriter.getUnitAttr());
        auto fc_op = rewriter.create<TFL::FullyConnectedOp>(
            bmm_op->getLoc(), ArrayRef<Type>{output_type},
            /*input=*/output_lhs, /*filter=*/output_rhs, /*bias=*/no_input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

          replacer.create<mlir::func::ReturnOp>(yield_op.getLoc(),
                                                yield_op.getOperands());
          yield_op.erase();
        }
    
        // Remap the captured operands in the (former) island block with newly
        // created entry block arguments in the function body.
        {
          Block &entry_block = outlined_func.getBody().front();
          auto loc = outlined_func.getLoc();
          for (Value operand : operands) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top