Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for call_op (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    // uses `get_next` to get the next value and calls `reduce_func`.  `body_args`
    // is used as pass through of state values for else branch.  `dataset_types` is
    // used for constructing the CallOp for `reduce_func`.
    IfRegionOp CreateOptionalDatasetIf(
        OpBuilder builder, ReduceDatasetOp reduce_dataset, FuncOp reduce_func,
        IteratorGetNextAsOptionalOp get_next, OptionalHasValueOp optional_has_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

              op, {if_op.then_function(), if_op.else_function()}, if_op.getInput());
        } else if (auto case_op = dyn_cast<TF::CaseOp>(op)) {
          SmallVector<func::FuncOp, 4> branches;
          case_op.get_branch_functions(branches);
          result =
              CanonicalizeFunctionalIfCase(case_op, branches, case_op.getInput());
        } else if (auto while_op = dyn_cast<TF::WhileOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// Create new entry for this inline
    	inlinedFn := base.Ctxt.InlTree.InlinedFunction(inlIdx)
    	callXPos := base.Ctxt.InlTree.CallPos(inlIdx)
    	callPos := base.Ctxt.InnermostPos(callXPos)
    	absFnSym := base.Ctxt.DwFixups.AbsFuncDwarfSym(inlinedFn)
    	ic := dwarf.InlCall{
    		InlIndex:  inlIdx,
    		CallPos:   callPos,
    		AbsFunSym: absFnSym,
    		Root:      parCallIdx == -1,
    	}
    	dwcalls.Calls = append(dwcalls.Calls, ic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    // that result if so. Otherwise, it will clone and convert the callee function,
    // and performs stack ops decomposition on it.
    template <typename CallOp>
    LogicalResult HandlePartitionedCallOp(
        CallOp call, func::FuncOp callee, ModuleOp module,
        const llvm::SmallDenseMap<Value, Value>& data_var_to_size_var,
        llvm::StringMap<PartitionedCallStackOpsInfo>*
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. tests/integration/security/egress_sidecar_tls_origination_test.go

    					}
    					newTLSSidecarDestinationRule(t, apps.External.All, "MUTUAL", tc.drSelector, tc.credentialToUse,
    						tc.from.Config().Namespace)
    					callOpt := newTLSSidecarCallOpts(apps.External.All[0], host, tc.expectedResponse)
    					tc.from[0].CallOrFail(t, callOpt)
    				})
    			}
    		})
    }
    
    // Authorize only specific sidecars in the namespace with secret listing permissions.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

      // begin[i].
      //
      // If slice_size[i] < -1 then executing the slice will throw an error, and we
      // don't do anything here.  We've already filtered these cases out in
      // IsRewritableSlice.
    
      if (absl::c_all_of(slice_inputs.size_as_vector,
                         [](int64_t i) { return i >= 0; })) {
        *size = slice_inputs.size;
        return absl::OkStatus();
      }
    
      Output input_shape =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      }
    
      for (auto pair : llvm::zip(new_op.getRegions(), case_op.getRegions())) {
        std::get<0>(pair)->takeBody(*std::get<1>(pair));
      }
      case_op.replaceAllUsesWith(
          new_op.getResults().take_front(case_op.getNumResults()));
      case_op.erase();
      return success();
    }
    
    template <typename CallOp>
    LogicalResult HandlePartitionedCallOp(
        CallOp call, func::FuncOp callee, ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top