Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 313 for created (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

                                   "attribute in the quantized composite function.";
          signalPassFailure();
        }
      }
    }
    
    }  // namespace
    
    // Creates an instance of the pass for inserting quantized functions.
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertQuantizedFunctionsPass(
        QuantMethod quantization_method, OpSet target_opset) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

        return;
      }
    
      auto new_func_type =
          builder.getFunctionType(new_input_types, new_output_types);
      func.setType(new_func_type);
    }
    }  // namespace
    
    // Creates an instance of the TensorFlow Lite modify io nodes pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateModifyIONodesPass(
        Type input_type, Type output_type) {
    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. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

        return WalkResult::advance();
      });
      if (result.wasInterrupted()) {
        return failure();
      }
    
      return builder.getArrayAttr(function_list);
    }
    
    // Creates a pruned module containing the XlaCallModule's entry function and
    // other functions transitively called by the entry function.
    FailureOr<OwningOpRef<ModuleOp>> PruneStablehloModule(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/fingerprinting.cc

            result_hash, tensorflow::Fingerprint64(concrete_function_serialized));
      }
      // TODO(b/241294832): Complete canonicalization of `object_graph_def.nodes`.
      return result_hash;
    }
    
    // Creates a FingerprintDef proto from a SavedModel and the checkpoint meta file
    // (.index) in `export_dir`.
    absl::StatusOr<FingerprintDef> CreateFingerprintDefPb(
        absl::string_view export_dir, std::string pb_file) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

      } else {
        builder.setInsertionPointToStart(&block);
      }
      TypeAttr type_attr = TypeAttr::get(new_type);
      auto quantize = builder.create<TFL::QuantizeOp>(value.getLoc(), new_type,
                                                      value, type_attr);
      auto dequantize = builder.create<TFL::DequantizeOp>(
          value.getLoc(), expressed_type, quantize.getOutput());
      value.replaceAllUsesWith(dequantize);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      nodes_[inst] = node;
      return absl::OkStatus();
    }
    
    bool IsEntryFunctionArg(BlockArgument arg) {
      return arg.getParentRegion()->getParentOfType<FuncOp>().getName() == "main";
    }
    
    // Creates argument nodes from Block argument. If a name is supplied, that
    // name will be used instead of generating a unique name.
    Status Exporter::AddArgumentNode(BlockArgument arg, unsigned index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      nodes_[inst] = node;
      return absl::OkStatus();
    }
    
    bool IsEntryFunctionArg(BlockArgument arg) {
      return arg.getParentRegion()->getParentOfType<FuncOp>().getName() == "main";
    }
    
    // Creates argument nodes from Block argument. If a name is supplied, that
    // name will be used instead of generating a unique name.
    Status Exporter::AddArgumentNode(BlockArgument arg, unsigned index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

                /*quant_dim=*/-1, num_bits, narrow_range, is_signed);
            builder.setInsertionPoint(block, insertion_point);
            auto q_op = builder.create<quantfork::QuantizeCastOp>(
                loc, params.getValue(), arg);
            auto dq_op = builder.create<quantfork::DequantizeCastOp>(
                loc, input_type, q_op.getResult());
            arg.replaceAllUsesWith(dq_op.getResult());
            q_op.setOperand(arg);
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

            // Keep track of IDs of resources that are allocated by ops with
            // `UniqueResourceAllocation` trait, this can be utilized for while-loop
            // parallelization (every iteration creates a new unique resource).
            if (op->hasTrait<OpTrait::TF::UniqueResourceAllocation>()) {
              unique_resource_allocation_ids_.insert(resource_handle.id);
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

      EXPECT_TRUE(xla::LiteralTestUtil::Equal(
          *literal1, xla::LiteralUtil::CreateR2<int32_t>({{1, 2, 3}})));
    
      std::shared_ptr<xla::Literal> literal2 = *exec_args[1]->ToLiteralSync();
      EXPECT_TRUE(xla::LiteralTestUtil::Equal(
          *literal2, xla::LiteralUtil::CreateR2<int32_t>({{4, 5, 6}})));
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    #endif  // PLATFORM_GOOGLE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top