Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for setFAttr (0.21 sec)

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

      builder.setInsertionPoint(execute_launch);
      auto copy_with_layout = BuildCopyWithLayout(execute_launch, compile_launch,
                                                  get_layout, input, &builder);
      copy_with_layout->setAttr(kDeviceAttr, execute_launch.getDeviceAttr());
      execute.setOperand(execute_arg_index, copy_with_layout);
    }
    
    // Performs transformation for replicated inputs. Returns true if this is a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

      new_call_op->setAttr(kEntryFuncAttrName,
                           rewriter.getStringAttr(new_ref_func_name.getValue()));
      new_call_op->setAttrs(call_op->getAttrs());
      new_call_op->removeAttr(rewriter.getStringAttr(kQuantTraitAttrName));
    
      FlatSymbolRefAttr new_func_name_attr =
          FlatSymbolRefAttr::get(rewriter.getContext(), new_ref_func_name);
      new_call_op->setAttr(kEntryFuncAttrName, new_func_name_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    }
    
    //sys	setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error)
    
    func Setxattr(path string, attr string, data []byte, flags int) (err error) {
    	// The parameters for the OS X implementation vary slightly compared to the
    	// linux system call, specifically the position parameter:
    	//
    	//  linux:
    	//      int setxattr(
    	//          const char *path,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    }
    
    LogicalResult ConvertWhitespaceTokenizer(func::FuncOp func, llvm::StringRef api,
                                             FuncAttr attr) {
      func.eraseBody();
      func.addEntryBlock();
      func->setAttr(kTFImplements, attr);
      OpBuilder builder(func.getBody());
      std::string empty_option_buffer;
      auto op = builder.create<CustomOp>(
          func.getLoc(), func.getFunctionType().getResults(), func.getArguments(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

        const std::optional<DictionaryAttr>& devices) {
      auto result = region.walk([&](Operation* op) -> WalkResult {
        if (RequiresReplicaIDAttribute(op)) {
          op->setAttr(kReplicaIdAttr, builder.getI64IntegerAttr(replica_id));
          return WalkResult::advance();
        }
    
        if (auto placeholder = dyn_cast<TF::_TPUDeviceOrdinalPlaceholderOp>(op)) {
          int64_t device_ordinal;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

          op_to_update->setAttr(kDeviceAttr, new_device_attr);
          PopulateDeviceForOpResults(*op_to_update, new_device_attr.getValue(),
                                     value_to_device);
    
          if (auto sink =
                  llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op_to_update)) {
            auto source = sink.GetSource();
            source->setAttr(kDeviceAttr, new_device_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

              // Set interface_name & target to the call_op as well.
              new_call->setAttr(kInterfaceNameAttr,
                                builder->getStringAttr(interface_name));
              new_call->setAttr(
                  kDevice,
                  builder->getStringAttr(preferred_inference_device_type.hardware));
              new_call->setAttr(
                  kInferenceType,
                  builder->getStringAttr(GetInferenceString(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

                !HasOutsideCompiledAncestor(input_defining_op) &&
                !input_defining_op->hasAttrOfType<StringAttr>(
                    kXlaOutsideCompilationAttr)) {
              input_defining_op->setAttr(
                  kXlaOutsideCompilationAttr,
                  StringAttr::get(input_defining_op->getContext(), "auto"));
              outside_compiled_ops.push(input_defining_op);
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

          /*disabled_checks=*/empty_array_attr);
      xla_call_module_op->setAttr(TF::kStablehloEntryFunctionAttrName,
                                  SymbolRefAttr::get(stablehlo_func_op));
      // Set jax.uses_shape_polymorphism=true to enable shape refinement at runtime.
      // This is needed for native serialization version >= 8.
      xla_call_module_op->setAttr(
          kStablehloModuleAttrsAttrName,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

            input_specs.push_back(TypeAttr::get(requantize.params));
          } else {
            input_specs.push_back(TypeAttr::get(state.params));
          }
        }
        op->setAttr("input_specs", ArrayAttr::get(context, input_specs));
    
        llvm::SmallVector<Attribute, 4> output_specs;
        auto original_output_specs = op.getOutputSpecs().getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top