Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for call_op_ (0.12 sec)

  1. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

        }
      });
    }
    
    std::vector<quantfork::QuantizeRegionOp> QuantizeContext::GetAllOps() {
      std::vector<quantfork::QuantizeRegionOp> all_ops;
      all_ops.reserve(128);
      func_.walk([&](quantfork::QuantizeRegionOp op) { all_ops.push_back(op); });
      return all_ops;
    }
    
    KernelSpecs::Signature QuantizeContext::GetSignature(
        quantfork::QuantizeRegionOp op) {
      KernelSpecs::Signature signature;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. tests/integration/security/egress_gateway_origination_test.go

    					newTLSGatewayTest(t).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							callOpt := newTLSGatewayCallOpts(to, host, tc.statusCode, tc.useGateway)
    							from.CallOrFail(t, callOpt)
    						})
    				})
    			}
    		})
    }
    
    // TestMutualTlsOrigination test MUTUAL TLS mode with TLS origination happening at Gateway proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

          return failure();
        }
      }
    
      return success();
    }
    
    LogicalResult CheckOutputConsumer(
        Operation* call_op, int expected_num_outputs,
        llvm::DenseSet<int> expected_consumer_indices) {
      const int num_results = call_op->getNumResults();
      if (num_results != expected_num_outputs) return failure();
    
      for (int i = 0; i < expected_num_outputs; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      }
      auto a = Parameter(&builder, 0, ShapeUtil::MakeScalarShape(xla::F32), "a");
      auto b = Parameter(&builder, 1, ShapeUtil::MakeScalarShape(xla::F32), "b");
      XlaOp call_op = xla::Call(&builder, to_apply, {a, b});
    
      std::vector<XlaOp> tuple_values;
      tuple_values.push_back(call_op);
      xla::Tuple(&builder, tuple_values);
    
      TF_ASSERT_OK_AND_ASSIGN(XlaComputation computation, builder.Build());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

              next_values_to_visit.push_back(use.getOwner()->getResult(0));
              continue;
            }
    
            if (auto call_op = llvm::dyn_cast<mlir::CallOpInterface>(owner)) {
              mlir::func::FuncOp func =
                  llvm::dyn_cast<mlir::func::FuncOp>(call_op.resolveCallable());
              if (!func) continue;
              next_values_to_visit.push_back(
                  func.getArgument(use.getOperandNumber()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      TF::YieldOp yield =
          llvm::dyn_cast_or_null<TF::YieldOp>(block.getTerminator());
      if (!yield) return std::nullopt;
      func::CallOp call = llvm::dyn_cast_or_null<func::CallOp>(*block.begin());
      if (!call) return std::nullopt;
      if (block.getNumArguments() != call.getNumOperands() ||
          call.getNumResults() != yield.getNumOperands())
        return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

            max_iterations);
      } else if (auto call_op = dyn_cast<CallOpInterface>(op)) {
        if (auto func =
                dyn_cast<func::FuncOp>(call_op.resolveCallable(&symbol_table_))) {
          PropagateConstantToCallee(call_op, func, module);
          FailureOr<bool> failure_or_converged = PropagateShapeToFunctions(
              module, call_op.getArgOperands().getTypes(), {func}, max_iterations);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    func.func private @tensor_invalid_1() -> !tfr.tensor<[N, T>
    
    // -----
    
    // expected-error@+1 {{unbalanced}}
    func.func @tensor_invalid_2() -> !tfr.tensor<[N, T]
    
    // -----
    
    // CHECK-LABEL: call_op
    func.func @call_op(%arg0: !tfr.tensor<T>, %arg1: !tfr.tensor_list<TL>, %arg2: i32) -> !tfr.tensor<K> {
      %0 = tfr.call @Foo(%arg0, %arg1, %arg2) : (!tfr.tensor<T>, !tfr.tensor_list<TL>, i32) -> !tfr.tensor<K>
      func.return %0 : !tfr.tensor<K>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        rewriter.setInsertionPoint(rescale_op);
        auto cast_input_to_float_op = rewriter.create<CallOp>(
            loc, result_types,
            SymbolRefAttr::get(rewriter.getContext(), "tf__cast"),
            ArrayRef<Value>{input, constant_f32_op, c_false});
        auto input_x_scale_op = rewriter.create<CallOp>(
            loc, result_types, SymbolRefAttr::get(rewriter.getContext(), "tf__mul"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

          auto uses = func.getSymbolUses(module);
          if (!uses) continue;
          for (auto& use : *uses) {
            // Only `mlir::func::CallOp` is supported as this requires knowing how
            // to rewrite arguments and results to a function.
            if (!isa<mlir::func::CallOp>(use.getUser())) continue;
            auto caller_parent_func =
                use.getUser()->getParentOfType<func::FuncOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top