Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 139 for call_op (0.46 sec)

  1. src/cmd/internal/obj/inl.go

    }
    
    func (tree *InlTree) Parent(inlIndex int) int {
    	return tree.nodes[inlIndex].Parent
    }
    
    func (tree *InlTree) InlinedFunction(inlIndex int) *LSym {
    	return tree.nodes[inlIndex].Func
    }
    
    func (tree *InlTree) CallPos(inlIndex int) src.XPos {
    	return tree.nodes[inlIndex].Pos
    }
    
    func (tree *InlTree) setParentPC(inlIndex int, pc int32) {
    	tree.nodes[inlIndex].ParentPC = pc
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

      llvm::DenseMap<Operation*, llvm::DenseMap<int, int>> args_to_remap;
      llvm::DenseSet<Operation*> do_not_touch;  // Funcs referenced by non-call ops
    
      // Find all users of functions that are not through a CallOp. Those
      // are functions we need to leave alone.
      module->walk([&](SymbolUserOpInterface op) {
        if (llvm::isa<CallOpInterface>(op.getOperation())) return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/stmt.go

    		// and spilled to temporary variables, which can be captured by
    		// the wrapper function.
    
    		stmtPos := base.Pos
    		callPos := base.Pos
    
    		as := ir.NewAssignListStmt(callPos, ir.OAS2, make([]ir.Node, len(argps)), make([]ir.Node, len(argps)))
    		for i, argp := range argps {
    			arg := *argp
    
    			pos := callPos
    			if ir.HasUniquePos(arg) {
    				pos = arg.Pos()
    			}
    
    			// tmp := arg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

          TF::UniformQuantizedClipByValueOp>();
      target.addDynamicallyLegalOp<TF::CastOp>([](Operation *op) {
        auto cast_op = llvm::dyn_cast<TF::CastOp>(op);
        return !IsTFQintType(cast_op.getSrcT()) && !IsTFQintType(cast_op.getDstT());
      });
    
      RewritePatternSet patterns(ctx);
      PopulateLegalizeTfQuantizationPatterns(ctx, &patterns);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.cc

                                        TF_Graph* graph, TF_Operation* ctrl_op,
                                        TF_Status* s, const char* name) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
      TF_Output add_inputs[2] = {{l, 0}, {r, 0}};
      TF_AddInputList(desc, add_inputs, 2);
      TF_AddControlInput(desc, ctrl_op);
      return TF_FinishOperation(desc, s);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      %case_op = "tf.Case"(%arg0, %tl) {branches = [@branch_0, @branch_1, @branch_2], is_stateless = false}
        : (tensor<i32>, tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
      // CHECK: "tf.Slice"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

          filename_tensor_name, restore_op_name, save_node_name};
      const auto is_empty_predicate = [](const absl::string_view s) {
        return s.empty();
      };
    
      if (absl::c_all_of(fields, is_empty_predicate)) {
        return std::nullopt;
      } else if (absl::c_none_of(fields, is_empty_predicate)) {
        SaverDef saver_def{};
        saver_def.set_version(SaverDef::V2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

          int padding_after = padding_before + offset;
          padding_values[2 * i] = padding_before;
          padding_values[2 * i + 1] = padding_after;
        }
      }
    
      if (input_zp_value == 0 ||
          absl::c_all_of(padding_values, [](int v) { return v == 0; })) {
        padding = CreateConstValue<int32_t>(
            builder, loc, {num_dims - 2, 2},
            SmallVector<int32_t>(padding_values.begin() + 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        return uniform_type.getZeroPoint() == 0;
      } else if (auto per_axis_type =
                     llvm::dyn_cast_or_null<UniformQuantizedPerAxisType>(qtype)) {
        return absl::c_all_of(per_axis_type.getZeroPoints(),
                              [](int64_t x) { return x == 0; });
      }
      return false;
    }
    
    // Multiplies two 1D arrays with broadcasting support.
    template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/README.md

        %1 = tfl.mul %0, %arg2 {fused_activation_function = "RELU6", tac.device = "GPU", tac.inference_type = "FLOAT"} : tensor<1xf32>
        return %1 : tensor<1xf32>
      }
    ```
    
    And the original function will be replaced by `CallOps` to those `FuncOps`:
    
    ```
    func @simpleTest(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>, %arg2: tensor<1xf32>, %arg3: tensor<1xf32>) -> tensor<2x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 11.6K bytes
    - Viewed (0)
Back to top