Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for GetBody (0.17 sec)

  1. src/net/http/transport_internal_test.go

    	if err != nil {
    		panic(err)
    	}
    	return req
    }
    
    func dummyRequestWithBodyNoGetBody(method string) *Request {
    	req := dummyRequestWithBody(method)
    	req.GetBody = nil
    	return req
    }
    
    // issue22091Error acts like a golang.org/x/net/http2.ErrNoCachedConn.
    type issue22091Error struct{}
    
    func (issue22091Error) IsHTTP2NoCachedConnError() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      subgraphs_metadata.reserve(funcs.size());
      for (auto& func : funcs) {
        subgraphs_metadata.push_back(
            CreateSubgraphMetadata(hardware_map, &func.getBody(), &fb_builder));
      }
      auto runtime_metadata =
          CreateRuntimeMetadata(fb_builder, hardware_metadata_offset,
                                fb_builder.CreateVector(subgraphs_metadata));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

          arg.setType(new_arg_type);
        }
    
        // Update the function type.
        func.setType(mlir::FunctionType::get(module.getContext(),
                                             func.getBody().getArgumentTypes(),
                                             func.getFunctionType().getResults()));
      }
      return success();
    }
    
    }  // namespace tf_saved_model
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

          PropagatePotentiallyWrittenUpFromCallee(while_op.getCond(),
                                                  while_op.getInput());
          PropagatePotentiallyWrittenUpFromCallee(while_op.getBody(),
                                                  while_op.getInput());
          return;
        }
        // `TF::BatchFunctionOp`, although it looks like a function call, does not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // order, accumulating clones of defined Values into a `IRMapping`
      // and pass that map to calls to clone ops.
      OpBuilder function_builder(new_func.getBody());
      // Prefered data structure for mapping MLIR values.
      IRMapping values_in_scope;
      // Function arguments can appear as operands, so they clone should
      // be aware of them.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

        for (int i = 0; i < func.getNumArguments(); i++) {
          if (auto global = tf_saved_model::LookupBoundInputOfType<
                  tf_saved_model::GlobalTensorOp>(func, i, syms)) {
            OpBuilder builder(func.getBody());
            auto dummy = builder.create<TF::VarHandleOp>(
                global.getLoc(), func.getArgument(i).getType(), "dummy", "dummy");
            func.getArgument(i).replaceAllUsesWith(dummy.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

      }
    
      OpBuilder builder(module.getContext());
    
      OwningOpRef<ModuleOp> stablehlo_module =
          builder.create<ModuleOp>(op.getLoc());
      builder.setInsertionPointToEnd(stablehlo_module->getBody());
    
      // Copy all referenced StableHLO functions to the new module.
      WalkResult result = WalkReachableFunctions(
          entry_func,
          [&](func::FuncOp f) -> WalkResult {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/debug/debug_test.cc

            }()) {
        context_.loadAllAvailableDialects();
    
        mlir::OpBuilder builder(&context_);
        module_ = builder.create<mlir::ModuleOp>(builder.getUnknownLoc());
    
        builder.setInsertionPointToStart(module_->getBody());
        auto func = builder.create<mlir::func::FuncOp>(  //
            builder.getUnknownLoc(), "main", builder.getFunctionType({}, {}));
        func->setAttr("tfl.func", builder.getUnitAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

      std::vector<Value> activation_values;
      std::vector<Value> bias_values;
    
      // First of all, collect all the values (block arguments and op results) which
      // are required to be quantized.
      for (auto arg : func.getBody().begin()->getArguments()) {
        if (UsedAsBias(arg)) {
          AddToWorkListIfUnquantized(arg, &bias_values);
        } else {
          AddToWorkListIfUnquantized(arg, &activation_values);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      auto func = mlir::func::FuncOp::create(loc, func_name_str, func_type, {});
      module.push_back(func);
      func.addEntryBlock();
      mlir::OpBuilder op_builder(func.getBody());
    
      // Create the TF op
      const std::string tf_op_full_name = absl::StrCat("tf.", node_def.op());
      mlir::OperationState op_state(loc, tf_op_full_name);
      op_state.addOperands(func.getArguments());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top